Skip to content

Commit dd633a6

Browse files
authored
improv: Add mrsauravsahu profile's .vimrc (#51)
* Create .vimrc * fix: rearrange shortcuts
1 parent e5bdc0f commit dd633a6

File tree

1 file changed

+44
-0
lines changed

1 file changed

+44
-0
lines changed

profiles/mrsauravsahu/.vimrc

+44
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,44 @@
1+
syntax on
2+
3+
set number
4+
5+
" use spaces instead of tabs
6+
set tabstop=2 shiftwidth=2 expandtab
7+
8+
" git clone https://github.com/VundleVim/Vundle.vim.git ~/.vim/bundle/Vundle.vim
9+
set rtp+=~/.vim/bundle/Vundle.vim
10+
call vundle#begin()
11+
Plugin 'bling/vim-airline'
12+
Plugin 'prabirshrestha/vim-lsp'
13+
Plugin 'mattn/vim-lsp-settings'
14+
Plugin 'prabirshrestha/asyncomplete.vim'
15+
Plugin 'prabirshrestha/asyncomplete-lsp.vim'
16+
Plugin 'junegunn/fzf'
17+
Plugin 'junegunn/fzf.vim'
18+
Plugin 'ledesmablt/vim-run'
19+
Plugin 'dense-analysis/ale'
20+
call vundle#end()
21+
22+
" show spaces
23+
set listchars=trail:·,lead:·
24+
set list
25+
26+
" SHORTCUTS
27+
28+
" vim-run
29+
nnoremap <silent> <C-x> :Run
30+
31+
" formatting
32+
nnoremap <silent> <C-k><C-d> :gg=G <CR>
33+
34+
" fzf.vim
35+
nnoremap <silent> <C-l> :Files <CR>
36+
nnoremap <silent> <C-p> :GFiles <CR>
37+
38+
" UNUSED PLUGINS -- for now
39+
" Plugin 'scrooloose/nerdtree'
40+
" nnoremap <leader>n :NERDTreeFocus<CR>
41+
" nnoremap <C-n> :NERDTree<CR>
42+
" nnoremap <C-e> :NERDTreeToggle<CR>
43+
" nnoremap <C-f> :NERDTreeFind<CR>
44+

0 commit comments

Comments
 (0)