From a83a7de5ac75b26078e65b93af87f4516cf1ff2e Mon Sep 17 00:00:00 2001 From: Noah Masur Date: Sun, 6 Dec 2020 17:24:26 -0700 Subject: [PATCH] fix vimrc comment alignments --- nvim.configlink/init.vim | 46 ++++++++++++++++++++-------------------- 1 file changed, 23 insertions(+), 23 deletions(-) diff --git a/nvim.configlink/init.vim b/nvim.configlink/init.vim index 5e6c2e3..b661d38 100644 --- a/nvim.configlink/init.vim +++ b/nvim.configlink/init.vim @@ -34,28 +34,28 @@ Plug 'neoclide/coc.nvim', {'branch': 'release'} " Code completion call plug#end() " Basic Settings -filetype plugin on " Load the plugin for current filetype (vimwiki) -syntax enable " Syntax highlighting -set termguicolors " Set to truecolor -colorscheme gruvbox " Installed in autoload/ and colors/ +filetype plugin on " Load the plugin for current filetype (vimwiki) +syntax enable " Syntax highlighting +set termguicolors " Set to truecolor +colorscheme gruvbox " Installed in autoload/ and colors/ " Options -set hidden " Don't unload buffers when leaving them -set number " Show line numbers -set relativenumber " Relative numbers instead of absolute -set list " Reveal whitespace with --- -set expandtab " Tabs into spaces -set shiftwidth=4 " Amount to shift with > key -set softtabstop=4 " Amount to shift with TAB key -set ignorecase " Ignore case when searching -set smartcase " Check case when using capitals in search -set incsearch " Search while typing -set visualbell " No sounds -set scrolljump=1 " Scroll more than one line (or 1 line) -set scrolloff=3 " Margin of lines when scrolling -set pastetoggle= " Use F3 to enter paste mode -set clipboard+=unnamedplus " Uses system clipboard for yanking -set updatetime=300 " Faster diagnostics +set hidden " Don't unload buffers when leaving them +set number " Show line numbers +set relativenumber " Relative numbers instead of absolute +set list " Reveal whitespace with --- +set expandtab " Tabs into spaces +set shiftwidth=4 " Amount to shift with > key +set softtabstop=4 " Amount to shift with TAB key +set ignorecase " Ignore case when searching +set smartcase " Check case when using capitals in search +set incsearch " Search while typing +set visualbell " No sounds +set scrolljump=1 " Scroll more than one line (or 1 line) +set scrolloff=3 " Margin of lines when scrolling +set pastetoggle= " Use F3 to enter paste mode +set clipboard+=unnamedplus " Uses system clipboard for yanking +set updatetime=300 " Faster diagnostics " Neovim only set inccommand=split " Live preview search and replace @@ -69,9 +69,9 @@ if has("autocmd") endif " Better backup, swap and undo storage -set noswapfile " Instead of swaps, create backups (less annoying) -set backup " Easier to recover and more secure -set undofile " Keeps undos after quit +set noswapfile " Instead of swaps, create backups (less annoying) +set backup " Easier to recover and more secure +set undofile " Keeps undos after quit set backupdir=~/.config/nvim/dirs/backup set undodir=~/.config/vim/dirs/undo