imachimp
This commit is contained in:
parent
7a62a56145
commit
67b9a8dc3e
1 changed files with 11 additions and 0 deletions
11
vim/vimrc
11
vim/vimrc
|
@ -32,6 +32,16 @@ set showcmd
|
||||||
set number
|
set number
|
||||||
syntax on
|
syntax on
|
||||||
|
|
||||||
|
"Use 24-bit (true-color) mode in Vim/Neovim when outside tmux.
|
||||||
|
if (empty($TMUX) && getenv('TERM_PROGRAM') != 'Apple_Terminal')
|
||||||
|
if (has("nvim"))
|
||||||
|
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
|
||||||
|
endif
|
||||||
|
if (has("termguicolors"))
|
||||||
|
set termguicolors
|
||||||
|
endif
|
||||||
|
endif
|
||||||
|
|
||||||
" Global keybindings
|
" Global keybindings
|
||||||
noremap <F5> :setlocal spell! spelllang=en<CR>
|
noremap <F5> :setlocal spell! spelllang=en<CR>
|
||||||
noremap <F6> :setlocal spell! spelllang=es<CR>
|
noremap <F6> :setlocal spell! spelllang=es<CR>
|
||||||
|
@ -127,6 +137,7 @@ call plug#end()
|
||||||
|
|
||||||
" Theme
|
" Theme
|
||||||
let g:gruvbox_contrast_hard=1
|
let g:gruvbox_contrast_hard=1
|
||||||
|
let g:gruvbox_contrast_dark='hard'
|
||||||
let g:gruvbox_italic=1
|
let g:gruvbox_italic=1
|
||||||
set background=dark
|
set background=dark
|
||||||
colorscheme gruvbox
|
colorscheme gruvbox
|
||||||
|
|
Loading…
Reference in a new issue