mirror of
https://github.com/pratiktri/dotfiles.git
synced 2026-02-04 16:41:43 +05:30
NeoVim & VIM
- Testing setup through neotest plugin - Spellcheck enabled on markdown and text files - Diagnosis summary through trouble plugin - Code completion keybindings improved - Auto-formatting through conform plugin - Reactjs context aware commenting through nvim-ts-context-commentstring - Auto HTML tag completion through nvim-ts-autotag - CSS color highlight through nvim-highlight-colors - Lualine: breadcrumbs, git status, single line - Auto restore neovim sessions - Better keyboard maps Shell - Aliases now load from .bashrc or .zshrc - Bash & zsh shortcuts to easy open and create projects - zoxide instead of cd when installed - bootstrap.sh shellhardened
This commit is contained in:
@@ -23,7 +23,7 @@ set viewoptions-=options
|
||||
set nolangremap " Do not use non-English keyboards to define keymaps
|
||||
set list " Show tabs as >, trailing spaces as -, non-breakable space as +
|
||||
set signcolumn=yes " Always show the signs column (before line number column)
|
||||
set scrolloff=5 " Cursor always at middle of the screen
|
||||
set scrolloff=10 " Cursor always at middle of the screen
|
||||
set updatetime=249 " No typing for this millisec -> write to swap file
|
||||
set timeoutlen=500 " Multiple keys in keymaps must be pressed in these millisecs
|
||||
set noswapfile " Turn off swapfiles
|
||||
@@ -64,11 +64,7 @@ autocmd BufWritePre * %s/\s\+$//e
|
||||
set backspace=indent,eol,start
|
||||
|
||||
" Sync vim clipboard with system clipboard. Works across Linux, MacOS & Windows.
|
||||
if has("mac")
|
||||
set clipboard+=unnamed
|
||||
else
|
||||
set clipboard^=unnamed,unnamedplus
|
||||
endif
|
||||
set clipboard^=unnamed
|
||||
|
||||
" Set color
|
||||
if !has('gui_running')
|
||||
|
||||
Reference in New Issue
Block a user