mirror of
https://github.com/mentos1386/dotfiles.git
synced 2024-11-30 11:01:21 +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
|
augroup END
|
||||||
endif
|
endif
|
||||||
"--- VIM Configuration
|
"--- VIM Configuration
|
||||||
|
|
||||||
|
"- Custom commands
|
||||||
command! -nargs=0 Prettier :CocCommand prettier.formatFile
|
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
|
"- Keybindings
|
||||||
|
let mapleader = "'"
|
||||||
|
|
||||||
let g:ctrlp_map = '<c-p>'
|
let g:ctrlp_map = '<c-p>'
|
||||||
let g:ctrlp_cmd = 'CtrlP'
|
let g:ctrlp_cmd = 'CtrlP'
|
||||||
|
|
||||||
"- Visuals
|
"- Visuals
|
||||||
set number
|
set number
|
||||||
set cursorline
|
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
|
colorscheme onehalflight
|
||||||
let g:airline_theme = 'onehalflight'
|
let g:airline_theme = 'onehalflight'
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue