mirror of
https://github.com/nmasur/dotfiles
synced 2024-11-22 18:05:37 +00:00
fix vimrc comment alignments
This commit is contained in:
parent
eb7762bc03
commit
a83a7de5ac
@ -34,28 +34,28 @@ Plug 'neoclide/coc.nvim', {'branch': 'release'} " Code completion
|
|||||||
call plug#end()
|
call plug#end()
|
||||||
|
|
||||||
" Basic Settings
|
" Basic Settings
|
||||||
filetype plugin on " Load the plugin for current filetype (vimwiki)
|
filetype plugin on " Load the plugin for current filetype (vimwiki)
|
||||||
syntax enable " Syntax highlighting
|
syntax enable " Syntax highlighting
|
||||||
set termguicolors " Set to truecolor
|
set termguicolors " Set to truecolor
|
||||||
colorscheme gruvbox " Installed in autoload/ and colors/
|
colorscheme gruvbox " Installed in autoload/ and colors/
|
||||||
|
|
||||||
" Options
|
" Options
|
||||||
set hidden " Don't unload buffers when leaving them
|
set hidden " Don't unload buffers when leaving them
|
||||||
set number " Show line numbers
|
set number " Show line numbers
|
||||||
set relativenumber " Relative numbers instead of absolute
|
set relativenumber " Relative numbers instead of absolute
|
||||||
set list " Reveal whitespace with ---
|
set list " Reveal whitespace with ---
|
||||||
set expandtab " Tabs into spaces
|
set expandtab " Tabs into spaces
|
||||||
set shiftwidth=4 " Amount to shift with > key
|
set shiftwidth=4 " Amount to shift with > key
|
||||||
set softtabstop=4 " Amount to shift with TAB key
|
set softtabstop=4 " Amount to shift with TAB key
|
||||||
set ignorecase " Ignore case when searching
|
set ignorecase " Ignore case when searching
|
||||||
set smartcase " Check case when using capitals in search
|
set smartcase " Check case when using capitals in search
|
||||||
set incsearch " Search while typing
|
set incsearch " Search while typing
|
||||||
set visualbell " No sounds
|
set visualbell " No sounds
|
||||||
set scrolljump=1 " Scroll more than one line (or 1 line)
|
set scrolljump=1 " Scroll more than one line (or 1 line)
|
||||||
set scrolloff=3 " Margin of lines when scrolling
|
set scrolloff=3 " Margin of lines when scrolling
|
||||||
set pastetoggle=<F3> " Use F3 to enter paste mode
|
set pastetoggle=<F3> " Use F3 to enter paste mode
|
||||||
set clipboard+=unnamedplus " Uses system clipboard for yanking
|
set clipboard+=unnamedplus " Uses system clipboard for yanking
|
||||||
set updatetime=300 " Faster diagnostics
|
set updatetime=300 " Faster diagnostics
|
||||||
|
|
||||||
" Neovim only
|
" Neovim only
|
||||||
set inccommand=split " Live preview search and replace
|
set inccommand=split " Live preview search and replace
|
||||||
@ -69,9 +69,9 @@ if has("autocmd")
|
|||||||
endif
|
endif
|
||||||
|
|
||||||
" Better backup, swap and undo storage
|
" Better backup, swap and undo storage
|
||||||
set noswapfile " Instead of swaps, create backups (less annoying)
|
set noswapfile " Instead of swaps, create backups (less annoying)
|
||||||
set backup " Easier to recover and more secure
|
set backup " Easier to recover and more secure
|
||||||
set undofile " Keeps undos after quit
|
set undofile " Keeps undos after quit
|
||||||
set backupdir=~/.config/nvim/dirs/backup
|
set backupdir=~/.config/nvim/dirs/backup
|
||||||
set undodir=~/.config/vim/dirs/undo
|
set undodir=~/.config/vim/dirs/undo
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user