Created
July 25, 2022 14:01
-
-
Save ghasemdev/cbe91c57ad6f880277981de7ecdc37ec to your computer and use it in GitHub Desktop.
Neo Vim Config
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| :set number | |
| :set relativenumber | |
| :set tabstop=4 | |
| :set shiftwidth=4 | |
| :set autoindent | |
| :set smarttab | |
| :set softtabstop=4 | |
| :set mouse=a | |
| call plug#begin() | |
| Plug 'http://github.com/tpope/vim-surround' " Surrounding ysw) | |
| Plug 'https://github.com/preservim/nerdtree' " NerdTree | |
| Plug 'https://github.com/tpope/vim-commentary' " For Commenting gcc & gc | |
| Plug 'https://github.com/vim-airline/vim-airline' " Status bar | |
| Plug 'https://github.com/ap/vim-css-color' " CSS Color Preview | |
| Plug 'https://github.com/rafi/awesome-vim-colorschemes' " Retro Scheme | |
| Plug 'https://github.com/joshdick/onedark.vim' " One Dark | |
| Plug 'https://github.com/tc50cal/vim-terminal' " Vim Terminal | |
| Plug 'https://github.com/vim-utils/vim-man' " Man page | |
| Plug 'https://github.com/mg979/vim-visual-multi' " Cursor | |
| Plug 'https://github.com/sheerun/vim-polyglot' " Language Pack | |
| Plug 'https://github.com/dkarter/bullets.vim' " Auto List | |
| Plug 'https://github.com/glepnir/dashboard-nvim' " Dashboard | |
| Plug 'https://github.com/junegunn/fzf.vim' " Search | |
| Plug 'https://github.com/junegunn/fzf' " Search | |
| Plug 'https://github.com/simnalamburt/vim-mundo' " Undo Tree | |
| let g:dashboard_defualt_executive='fzf' | |
| call plug#end() | |
| nnoremap <C-f> :NERDTreeFocus<CR> | |
| nnoremap <C-n> :NERDTree<CR> | |
| nnoremap <C-t> :NERDTreeToggle<CR> | |
| nnoremap <C-l> :call CocActionAsync('jumpDefinition')<CR> | |
| nmap <F5> :MundoToggle<CR> | |
| :set completeopt-=preview " For No Previews | |
| ":colorscheme jellybeans | |
| " nable persistent undo so that undo history persists across vim sessions | |
| :set undofile | |
| :set undodir=~/.vim/undo | |
| let g:NERDTreeDirArrowExpandable="+" | |
| let g:NERDTreeDirArrowCollapsible="~" | |
| " --- Just Some Notes --- | |
| " :PlugClean :PlugInstall :UpdateRemotePlugins | |
| " | |
| " :CocInstall coc-python | |
| " :CocInstall coc-clangd | |
| " :CocInstall coc-snippets | |
| " :CocCommand snippets.edit... FOR EACH FILE TYPE | |
| " air-line | |
| let g:airline_powerline_fonts = 1 | |
| if !exists('g:airline_symbols') | |
| let g:airline_symbols = {} | |
| endif | |
| " nicode symbols | |
| let g:airline_left_sep = '' | |
| let g:airline_left_alt_sep = '' | |
| let g:airline_right_sep = '' | |
| let g:airline_right_alt_sep = '' | |
| let g:airline_symbols.colnr= 'β :' | |
| let g:airline_symbols.crypt = 'π' | |
| let g:airline_symbols.linenr = 'β°' | |
| let g:airline_symbols.maxlinenr = 'γ' | |
| let g:airline_symbols.branch = 'β' | |
| let g:airline_symbols.readonly = 'π' | |
| let g:airline_symbols.paste = 'Ο' | |
| let g:airline_symbols.spell = 'κ¨' | |
| let g:airline_symbols.notexists = 'Ι' | |
| let g:airline_symbols.whitespace = 'Ξ' | |
| let g:airline_symbols.dirty= 'β‘' | |
| inoremap <expr> <Tab> pumvisible() ? coc#_select_confirm() : "<Tab>" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment