dotfiles

Configuration for the software I use.
git clone https://git.sr.ht/~jbauer/dotfiles
Log | Files | Refs | README | LICENSE

commit 19045c41ea5cf55b695b2f75d1bced2407d385fd
parent 33cf342cff500cca38815cf0f4382092ffec4eb6
Author: Jake Bauer <jbauer@paritybit.ca>
Date:   Fri,  1 Jan 2021 22:06:16 -0500

Update vim config

Diffstat:
M.config/nvim/init.vim | 21+++------------------
1 file changed, 3 insertions(+), 18 deletions(-)

diff --git a/.config/nvim/init.vim b/.config/nvim/init.vim @@ -2,14 +2,12 @@ let mapleader = "," source ~/.config/nvim/autoload/spell.vim "Plugins Used: {{{ -" goyo.vim — (centers buffer in the terminal / 'distraction-free' mode) " iceberg.vim — (colour scheme) " supertab — (nicely remaps tab for autocompletion) " vim-buftabline — (shows open buffers using the tabline at the top) " vim-commentary — (shortcuts for (un)commenting lines/blocks of code) " vim-css-color – (highlight CSS hex colours with their actual colours) " vim-fastline — (my custom status bar) -" vim-fugitive — (git plugin) " vim-polyglot — (syntax, indentation, etc for variety of languages) " vim-surround — (quickly surround a selection with brackets/quotes/etc) @@ -20,7 +18,6 @@ runtime macros/matchit.vim " Match HTML tags " Polyglot Language Settings {{{ let g:LatexBox_latexmk_preview_continuously = 1 let g:LatexBox_build_dir = 'latex-build' - let g:markdown_folding = 1 " }}} " Buftabline Settings {{{ @@ -44,8 +41,7 @@ au FocusGained,BufEnter * :checktime " Currently not working in neovim: https://github.com/neovim/neovim/issues/8217 cmap w!! w !sudo tee > /dev/null % -" Spawn a new terminal in the current directory (useful for running code in a -" new terminal window or viewing the PDF output of LaTeX. +" Spawn a new terminal in the current directory cmap spawn !st >/dev/null 2>&1 & " Before Writing to File, Remove Trailing White Spaces @@ -64,7 +60,6 @@ xnoremap J :move '>+1<CR>gv-gv " Highlight entire line that cursor is on set cursorline - " }}} " Snippets {{{ @@ -180,18 +175,8 @@ nnoremap <C-H> <C-W><C-H> nnoremap <C-J> <C-W><C-J> nnoremap <C-K> <C-W><C-K> nnoremap <C-L> <C-W><C-L> -nnoremap <M-1> :b1<CR> -nnoremap <M-2> :b2<CR> -nnoremap <M-3> :b3<CR> -nnoremap <M-4> :b4<CR> -nnoremap <M-5> :b5<CR> -nnoremap <M-6> :b6<CR> -nnoremap <M-7> :b7<CR> -nnoremap <M-8> :b8<CR> -nnoremap <M-9> :b9<CR> -nnoremap <M-0> :b10<CR> -nnoremap <Up> :resize +2<CR> -nnoremap <Down> :resize -2<CR> +nnoremap <Up> :resize -2<CR> +nnoremap <Down> :resize +2<CR> nnoremap <Left> :vertical resize +2<CR> nnoremap <Right> :vertical resize -2<CR> " }}}