aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--files/vim/.vimrc8
-rw-r--r--files/vim/ftplugin/python/python.vim1
2 files changed, 6 insertions, 3 deletions
diff --git a/files/vim/.vimrc b/files/vim/.vimrc
index 26fd12f..0fdefa5 100644
--- a/files/vim/.vimrc
+++ b/files/vim/.vimrc
@@ -11,12 +11,13 @@ call plug#begin('~/.vim/plugged') "Update with PlugInstall
Plug 'PotatoesMaster/i3-vim-syntax'
Plug 'junegunn/goyo.vim'
Plug 'junegunn/fzf.vim'
+Plug 'junegunn/limelight.vim'
Plug 'tpope/vim-surround'
Plug 'tpope/vim-repeat'
Plug 'vimwiki/vimwiki'
Plug 'vim-airline/vim-airline'
Plug 'vim-syntastic/syntastic'
-"Plug 'Valloric/YouCompleteMe'
+Plug 'Valloric/YouCompleteMe'
"Plug 'OmniSharp/omnisharp-vim'
Plug 'dylanaraps/wal.vim'
call plug#end()
@@ -164,7 +165,7 @@ nnoremap <leader>ss :set spell!<CR>
nnoremap <leader>sl :set spelllang=
nnoremap <leader>sL :setlocal spelllang=
nnoremap <leader>e :Errors<Enter>
-nnoremap <leader>x :! ./%
+nnoremap <leader>x :w<CR>:! ./%
inoremap <leader>w <Esc>:w<Enter>
inoremap <leader><leader> <Esc>/<++><Enter>cf>
nnoremap <leader>p "+p
@@ -175,6 +176,9 @@ vnoremap <leader>d "+d
nnoremap <leader>G :Goyo \| set linebreak<CR>
+" For LimeLight
+let g:limelight_conceal_ctermfg = 7
+
"" git
nnoremap <leader>gs :!git status<CR>
"nnoremap <leader>gpull :!git pull<CR>
diff --git a/files/vim/ftplugin/python/python.vim b/files/vim/ftplugin/python/python.vim
index a67cab6..7246eed 100644
--- a/files/vim/ftplugin/python/python.vim
+++ b/files/vim/ftplugin/python/python.vim
@@ -13,5 +13,4 @@ nnoremap <buffer> <leader>gr :YcmCompleter GoToReferences<CR>
nnoremap <buffer> <leader>gd :YcmCompleter GetDoc<CR>
nnoremap <buffer> <leader>gT :YcmCompleter GetType<CR>
nnoremap <buffer> <leader>fi :YcmCompleter FixIt<CR>
-nnoremap <buffer> <leader>r :YcmCompleter RefactorRename<Space>
nnoremap <buffer> <leader>e :YcmDiags<CR>