mirror of
https://github.com/mentos1386/dotfiles.git
synced 2024-11-27 01:23:35 +00:00
improvements
This commit is contained in:
parent
f85cc72d08
commit
41d69ec335
1 changed files with 18 additions and 2 deletions
18
vim/vimrc
18
vim/vimrc
|
@ -77,16 +77,32 @@ if exists('##TextYankPost')
|
|||
augroup END
|
||||
endif
|
||||
"--- VIM Configuration
|
||||
|
||||
"- Custom commands
|
||||
command! -nargs=0 Prettier :CocCommand prettier.formatFile
|
||||
|
||||
"- NERDTree
|
||||
nnoremap <leader>n :NERDTreeFocus<CR>
|
||||
nnoremap <C-n> :NERDTree<CR>
|
||||
nnoremap <C-t> :NERDTreeToggle<CR>
|
||||
nnoremap <C-f> :NERDTreeFind<CR>
|
||||
nnoremap <leader>f 1z= " fix spelling
|
||||
|
||||
"- Keybindings
|
||||
let mapleader = "'"
|
||||
|
||||
let g:ctrlp_map = '<c-p>'
|
||||
let g:ctrlp_cmd = 'CtrlP'
|
||||
|
||||
"- Visuals
|
||||
set number
|
||||
set cursorline
|
||||
set signcolumn=yes
|
||||
set noswapfile
|
||||
set hlsearch " highlight all results
|
||||
set ignorecase
|
||||
set incsearch " search as you type
|
||||
set signcolumn=yes " always show git diff collumn
|
||||
set spell spelllang=en_us
|
||||
colorscheme onehalflight
|
||||
let g:airline_theme = 'onehalflight'
|
||||
|
||||
|
|
Loading…
Reference in a new issue