Commit 1bc6054a4424cd4738e0c5be262a30642452591d Parent: 87688ede66c439d90edac96e57fac81693b6dd71 Author: mcol <mcol@posteo.net> Date: 2022-03-01 00:12:44 +0000 Committer: mcol <mcol@posteo.net> Committed: 2022-03-01 00:12:44 +0000 Lots of updates
vimrc Modified
@@ -22,19 +22,23 @@ if stridx(hostname(), "book") != -1 "Plugin 'vimwiki/vimwiki' " vimwiki - Plugin 'gu-fan/riv.vim' + "Plugin 'gu-fan/riv.vim' Plugin 'https://mcol.xyz/code/vimlab' " vimlab Plugin 'lervag/vimtex' " vimtex - Plugin 'elixir-editors/vim-elixir' " elixir support + Plugin 'tpope/vim-fugitive' " git plugin + + Plugin 'elixir-editors/vim-elixir' " elixir highlighting + Plugin 'vmchale/dhall-vim' " dhall highlighting + + Plugin 'https://gitlab.com/gi1242/vim-emoji-ab.git' " emoji input support endif Plugin 'https://mcol.xyz/code/vim-misc' " my vimrc and misc functions Plugin 'https://mcol.xyz/code/tide' " tmux ide -Plugin 'airblade/vim-gitgutter' " gitgutter +"Plugin 'airblade/vim-gitgutter' " gitgutter call vundle#end() " required filetype plugin indent on " required - " Brief help " :PluginList - lists configured plugins " :PluginInstall - installs plugins; append `!` to update or just :PluginUpdate @@ -91,6 +95,8 @@ set autochdir " cwd to current file +let g:netrw_liststyle=3 " Set netrw style to tree + " Misc ------------------------------------------------------------" " restore last line in opened file @@ -107,7 +113,6 @@ let g:vimtex_view_general_viewer = 'qpdfview' let g:vimtex_view_general_options = '--unique @pdf\#src:@tex:@line:@col' - let g:vimtex_view_general_options_latexmk = '--unique' let g:vimtex_view_qpdfview_hook_callback = 'ViewerCallback' function! ViewerCallback() dict VimtexView @@ -132,3 +137,5 @@ if exists("$WAYLAND_DISPLAY") set ttym=sgr endif + +runtime macros/emoji-ab.vim
ftplugin/tex.vim Modified
@@ -1,7 +1,7 @@ setlocal tabstop=4 setlocal softtabstop=4 setlocal shiftwidth=4 -setlocal textwidth=79 +setlocal textwidth=110 setlocal expandtab nnoremap K :VimtexDocPackage<CR>
ftplugin/mail.vim Deleted
@@ -1,3 +0,0 @@ -nnoremap <buffer> <space> mmgggqG`m:echo "Formatted."<CR> - -setlocal textwidth=80
ftplugin/include.vim Added
@@ -0,0 +1 @@
+setlocal filetype=html
ftplugin/html.vim Modified
@@ -1,3 +1,4 @@ setlocal tabstop=2 setlocal softtabstop=2 setlocal shiftwidth=2 +setlocal expandtab
ftplugin/haskell.vim Added
@@ -0,0 +1,5 @@ +setlocal tabstop=4 +setlocal softtabstop=4 +setlocal shiftwidth=4 +setlocal textwidth=88 +setlocal expandtab
after/plugin/gitgutter.vim Modified
@@ -1,16 +1,16 @@ -"turn off realtime updates for gitgutter but update upon write -let g:gitgutter_enabled = 0 -autocmd! gitgutter CursorHold,CursorHoldI -autocmd BufWritePost * GitGutter - -" gitgutter -nmap <localleader>g :GitGutterToggle<CR> -nmap gp <Plug>(GitGutterPreviewHunk) -nmap gs <Plug>(GitGutterStageHunk) -nmap gu <Plug>(GitGutterUndoHunk) -nmap [g <Plug>(GitGutterPrevHunk) -nmap ]g <Plug>(GitGutterNextHunk) -omap ig <Plug>(GitGutterTextObjectInnerPending) -omap ag <Plug>(GitGutterTextObjectOuterPending) -xmap ig <Plug>(GitGutterTextObjectInnerVisual) -xmap ag <Plug>(GitGutterTextObjectOuterVisual) +""turn off realtime updates for gitgutter but update upon write +"let g:gitgutter_enabled = 0 +"autocmd! gitgutter CursorHold,CursorHoldI +"autocmd BufWritePost * GitGutter +" +"" gitgutter +"nmap <localleader>g :GitGutterToggle<CR> +"nmap gp <Plug>(GitGutterPreviewHunk) +"nmap gs <Plug>(GitGutterStageHunk) +"nmap gu <Plug>(GitGutterUndoHunk) +"nmap [g <Plug>(GitGutterPrevHunk) +"nmap ]g <Plug>(GitGutterNextHunk) +"omap ig <Plug>(GitGutterTextObjectInnerPending) +"omap ag <Plug>(GitGutterTextObjectOuterPending) +"xmap ig <Plug>(GitGutterTextObjectInnerVisual) +"xmap ag <Plug>(GitGutterTextObjectOuterVisual)
after/plugin/emoji-config.vim Added
@@ -0,0 +1,7 @@ +"------------------------------------------------------------------" +" Config for https://gitlab.com/gi1242/vim-emoji-ab.git +"------------------------------------------------------------------" + +" reload current buffer +"runtime macros/emojis.vim +