aboutsummaryrefslogtreecommitdiff
path: root/dotfiles
diff options
context:
space:
mode:
authorYaroslav <contact@yaroslavps.com>2020-08-18 11:56:24 +0300
committerYaroslav <contact@yaroslavps.com>2020-08-18 11:56:24 +0300
commitb591d88fcc78c77594668524c8f0522726344795 (patch)
tree56ec855804de511ecdbc778e302bbb247ce78937 /dotfiles
parent42efdd84f4c9c8739b0149aaaae751b399069e3e (diff)
downloadvimrice-b591d88fcc78c77594668524c8f0522726344795.tar.gz
vimrice-b591d88fcc78c77594668524c8f0522726344795.zip
goyo shortcuts and config
Diffstat (limited to 'dotfiles')
-rw-r--r--dotfiles/.config/nvim/init.vim5
1 files changed, 5 insertions, 0 deletions
diff --git a/dotfiles/.config/nvim/init.vim b/dotfiles/.config/nvim/init.vim
index 31de43f..29e0fee 100644
--- a/dotfiles/.config/nvim/init.vim
+++ b/dotfiles/.config/nvim/init.vim
@@ -207,9 +207,14 @@ au BufEnter * let &titlestring = "vim - " . expand("%t")
\ 'python': ['/usr/local/bin/pyls'],
\ }
+" LanguageClient-neovim
nmap <F4> <Plug>(lcn-menu)
nmap <silent> gd <Plug>(lcn-definition)
+" Goyo
+ let g:goyo_width = 100
+ map <leader>g :Goyo<CR>
+
" neomake
let g:neomake_javascript_enabled_makers = ['eslint']
let g:neomake_javascript_eslint_exe = $PWD .'/node_modules/.bin/eslint'