Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- Vim settings file
- filetype on
- filetype plugin on
- filetype indent on
- syntax on
- set nu
- set relativenumber
- set shell=pwsh
- set cursorline
- set cursorcolumn
- set showmatch
- set hlsearch
- set history=1000
- set wildmenu
- set wildmode=list:longest
- set wildignore=*.docx,*.jpg,*.png,*.gif,*.pdf,*.pyc,*.exe,*.flv,*.img,*.xlsx
- " PLUGINS ---------------------------------------------------------------- {{{
- " Plugin code goes here.
- call plug#begin('~/.vim/plugged')
- Plug 'dense-analysis/ale'
- Plug 'preservim/nerdtree'
- Plug 'sickill/vim-pasta'
- call plug#end()
- " }}}
- " MAPPINGS --------------------------------------------------------------- {{{
- " Mappings code goes here.
- " Navigate the split view easier by pressing CTRL+j, CTRL+k, CTRL+h, or CTRL+l.
- nnoremap <c-j> <c-w>j
- nnoremap <c-k> <c-w>k
- nnoremap <c-h> <c-w>h
- nnoremap <c-l> <c-w>l
- " }}}
- " VIMSCRIPT -------------------------------------------------------------- {{{
- " This will enable code folding.
- " Use the marker method of folding.
- augroup filetype_vim
- autocmd!
- autocmd FileType vim setlocal foldmethod=marker
- autocmd WinLeave * set nocursorline nocursorcolumn
- autocmd WinEnter * set cursorline cursorcolumn
- augroup END
- if version >= 703
- set undodir=~/.vim/backup
- set undofile
- set undoreload=10000
- endif
- " More Vimscripts code goes here.
- " $HOME/vimfiles/autoload/plug.vim -Force}}}
- " STATUS LINE ------------------------------------------------------------ {{{
- " Status bar code goes here.
- " }}}
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement