1
0
mirror of https://git.decapod.one/brethil/dotfiles synced 2024-12-22 15:21:30 +01:00

vim: add Goyo shortcuts

- `<leader>za` opens Goyo
- `<leader>zz` toggles Goyo
This commit is contained in:
bretello 2021-01-09 23:46:30 +01:00
parent 9e2e7e1ee0
commit 651bfe01f7
Signed by: brethil
GPG Key ID: 876AAC6290170FE7

View File

@ -87,7 +87,12 @@ map <leader>t :CtrlPTag<CR>
"" Indent Guides
map <leader>I :IndentGuidesToggle<CR>
"Misc stuff
" Goyo
nmap <leader>za :Goyo 80%x85%<CR>
nmap <leader>zz :Goyo<CR>
""Misc stuff
let s:uname=''
let s:uname = system('uname | tr -d "\n"') " Get platform name (stripping the trailing newline)
if s:uname == "Darwin"