neovim: Added goyo and tmux pane renaming
This commit is contained in:
parent
5f39770bbd
commit
bc4e8d8c73
|
@ -55,6 +55,8 @@
|
|||
cmp-nvim-lsp
|
||||
cmp-buffer
|
||||
|
||||
vim-terraform
|
||||
goyo-vim
|
||||
];
|
||||
extraConfig = ''
|
||||
set nocompatible
|
||||
|
@ -136,6 +138,15 @@
|
|||
" neoformat
|
||||
let g:neoformat_python_black = { 'args': ['-l 120'] }
|
||||
|
||||
<<<<<<< HEAD
|
||||
=======
|
||||
" Set name of tmux pane
|
||||
autocmd BufReadPost,FileReadPost,BufNewFile,BufEnter * call system("tmux rename-window 'vim " . expand("%:t") . "'")
|
||||
autocmd VimLeave * call system("tmux rename-window 'tmux'")
|
||||
|
||||
" Enter goyo mode
|
||||
nmap <Leader>gy :Goyo 50%x100%<CR>
|
||||
>>>>>>> c3f5e69 (neovim: Added goyo and tmux pane renaming)
|
||||
|
||||
lua << EOF
|
||||
require("bufferline").setup{}
|
||||
|
|
Loading…
Reference in a new issue