Last active
December 18, 2020 08:28
-
-
Save A-Programmer/88e4b8f792ad2a1aeb143a1a78f05d1e to your computer and use it in GitHub Desktop.
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 nocompatible | |
filetype off | |
"Add Vundle to runtime path | |
set rtp+=~/.vim/bundle/Vundle.vim | |
call vundle#begin() | |
Plugin 'gmarik/Vundle.vim' | |
""""""""""""""""""""""" | |
"" Add new plugins here | |
""""""""""""""""""""""" | |
Plugin 'scrooloose/nerdtree' | |
Plugin 'OmniSharp/omnisharp-vim' | |
Plugin 'inside/vim-search-pulse' | |
Plugin 'RRethy/vim-illuminate' | |
Plugin 'vim-airline/vim-airline' | |
Plugin 'flazz/vim-colorschemes' | |
"Plugin 'vim-scripts/indent' | |
Plugin 'prettier/vim-prettier', {'do': 'yarn install'} | |
Plugin 'skanehira/docker-compose.vim' | |
"Plugin 'Chiel92/vim-autoformat' | |
"let g:formatterpath = ['/some/path/to/a/folder', '/home/superman/formatters'] | |
"noremap <F3> :Autoformat<CR> | |
"au BufWrite * :Autoformat | |
map <C-o> :NERDTreeToggle<CR> | |
map <C-a> <esc>ggVG<CR> | |
inoremap <expr> <Tab> pumvisible() ? '<C-n>' : | |
\ getline('.')[col('.')-2] =~# '[[:alnum:].-_#$]' ? '<C-x><C-o>' : '<Tab>' | |
nnoremap <C-o><C-u> :OmniSharpFindUsages<CR> | |
nnoremap <C-o><C-d> :OmniSharpGotoDefinition<CR> | |
nnoremap <C-o><C-d><C-p> :OmniSharpPreviewDefinition<CR> | |
nnoremap <C-o><C-r> :!dotnet run | |
syntax on "Syntax highighting | |
set showmatch "Shows matching brackets | |
set ruler "Always show location in file (lin#) | |
set smarttab "Auto tabs for certain code | |
set shiftwidth=4 | |
set tabstop=2 | |
set ts=2 | |
set sw=2 | |
set number | |
""""""""""""""""""""""" | |
"" End of plugin list | |
""""""""""""""""""""""" | |
call vundle#end() | |
filetype plugin indent on |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment