all repos — dotfiles @ b70156a7aab9c100c3fb32cda4d961220d141e9c

my *nix dotfiles

nvim: More QoL fixes
Anirudh Oppiliappan x@icyphox.sh
Mon, 02 Nov 2020 11:56:45 +0530
commit

b70156a7aab9c100c3fb32cda4d961220d141e9c

parent

3b8672025d6703da59834fb63c4b43782419396e

3 files changed, 17 insertions(+), 1 deletions(-)

jump to
M config/nvim/init.vimconfig/nvim/init.vim

@@ -57,6 +57,7 @@ set softtabstop=4 " backspace through spaces

set nocompatible set noshowmode set clipboard=unnamedplus +set hidden " wildcard ignores set wildignore+=.git,.hg,.svn
A config/nvim/plugin/help.vim

@@ -0,0 +1,15 @@

+" Only apply to .txt files... +augroup HelpInTabs + autocmd! + autocmd BufEnter *.txt call HelpInNewTab() +augroup END + +" Only apply to help files... +function! HelpInNewTab () + if &buftype == 'help' && g:help_in_tabs + "Convert the help window to a tab... + execute "normal \<C-W>T" + endif +endfunction + +let g:help_in_tabs = 1
M config/nvim/plugin/statusline.vimconfig/nvim/plugin/statusline.vim

@@ -33,6 +33,6 @@ set statusline+=\ %f\

set statusline+=%m set statusline+=%= set statusline+=%#SecondaryBlock# -set statusline+=\ %l\ +set statusline+=\ %l,%c\ set statusline+=%#PrimaryBlock# set statusline+=%{&filetype}