GithubHelp home page GithubHelp logo

dotvim2's Introduction

1-get-started

mkdir -p pack/{util,nav,lang,web,lsp}/{start,opt}

git submodule add [email protected]:tpope/vim-surround.git pack/util/start/surround
git submodule add [email protected]:mattn/emmet-vim.git pack/util/start/emmet
git submodule add [email protected]:editorconfig/editorconfig-vim.git pack/util/start/editorconfig
git submodule add [email protected]:tpope/vim-fugitive.git pack/util/start/fugitive
git submodule add [email protected]:airblade/vim-gitgutter.git pack/util/start/gitgutter

git submodule add [email protected]:redox-os/ion-vim.git pack/lang/start/ion
git submodule add [email protected]:ellisonleao/glow.nvim.git pack/lang/start/glow

git submodule add [email protected]:LunarVim/Colorschemes.git pack/util/start/colorschemes

##### dependencies

git submodule add [email protected]:nvim-lua/plenary.nvim.git pack/util/start/plenary.nvim
git submodule add [email protected]:kyazdani42/nvim-web-devicons.git pack/util/start/nvim-web-devicons
git submodule add [email protected]:folke/lsp-colors.nvim.git pack/util/start/lsp-colors

##### lsp + treesitter

# https://github.com/hrsh7th/vscode-langservers-extracted -- for eslint lsp

git submodule add [email protected]:neovim/nvim-lspconfig.git pack/lsp/start/nvim-lspconfig

git submodule add [email protected]:hrsh7th/cmp-nvim-lsp pack/lsp/start/cmp-nvim-lsp
git submodule add [email protected]:hrsh7th/cmp-buffer pack/lsp/start/cmp-buffer
git submodule add [email protected]:hrsh7th/cmp-path pack/lsp/start/cmp-path
git submodule add [email protected]:hrsh7th/cmp-cmdline pack/lsp/start/cmp-cmdline
git submodule add [email protected]:hrsh7th/nvim-cmp pack/lsp/start/nvim-cmp

git submodule add [email protected]:hrsh7th/vim-vsnip.git pack/lsp/start/vim-vsnip
git submodule add [email protected]:hrsh7th/cmp-vsnip.git pack/lsp/start/cmp-vsnip

git submodule add [email protected]:folke/trouble.nvim.git pack/lsp/start/trouble

git submodule add [email protected]:nvim-treesitter/nvim-treesitter.git pack/lsp/start/nvim-treesitter
git submodule add [email protected]:nvim-treesitter/nvim-treesitter-context.git pack/lsp/start/nvim-treesitter-context

git submodule add [email protected]:mfussenegger/nvim-dap.git pack/lsp/start/nvim-dap
 
git submodule add [email protected]:jakewvincent/mkdnflow.nvim.git pack/lsp/start/mkdnflow.nvim

###### nav

git submodule add [email protected]:kien/ctrlp.vim.git pack/nav/start/ctrlp.vim
git submodule add [email protected]:kyazdani42/nvim-tree.lua.git pack/nav/start/nvim-tree
git submodule add [email protected]:nvim-lualine/lualine.nvim.git pack/nav/start/lualine

git submodule add [email protected]:nvim-telescope/telescope.nvim.git  pack/nav/start/telescope.nvim
git submodule add [email protected]:nvim-telescope/telescope-symbols.nvim.git pack/nav/start/telescope-symbols
git submodule add [email protected]:simrat39/symbols-outline.nvim.git pack/nav/start/symbols-outline

1-2-plugins-update

git submodule init
git submodule update --remote
git submodule foreach git pull origin master

Next TODO:

For the future:

https://github.com/NvChad/NvChad # full-fledged setup


3-tricks

3-1-open-file-directory

:e %:h also C-^ to switch to prev buffer

3-2-productive-vim-shortcuts-stover

from what-is-your-most-productive-shortcut-with-vim

:.,$j - from current line (.) to last line ($) join all lines

:.,+21g/foo/d - delete any lines containing the string "foo" from the current one through the next 21 lines

:.,$v/bar/d - from here to the end of the file, delete any lines which DON'T contain the string "bar"

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.