- Shell script formatting: shellharden made 2nd choice and NOT 2nd formatter
- Keymaps organized: more accessible, more consistent

TODO
- Ideavimrc fix backspace issue
- Make the keymaps in sync with NVim
This commit is contained in:
Pratik Tripathy
2024-03-08 20:40:35 +05:30
parent 72076d0ad9
commit 617a620e70
11 changed files with 102 additions and 117 deletions

View File

@@ -4,6 +4,25 @@
" Enable IdeaVim plugins https://jb.gg/ideavim-plugins
"source ~/.vimrc
" FIX: "u" appears randomly when deleting words and other times
" TODO: Keep the mappings same across Neovim & Idea
" Keymap structure:
" b+: [B]buffer Operations
" c+: [C]oding Stuff
" d+: [D]iagnostics
" f+: [F]ile Operations
" g+: [G]it Operations
" l+: [L]ist Things
" n+: [N]eoVim Stuff
" s+: Grep/[S]earch Things
" t+: [T]est runner stuff
" x+: close/dismiss something
" e: explorer
" j: EasyMotion jump
" p: Paste from system clipboard
" y: Copy selected stuff to system clipboard
" u: Open undo-tree side-panel
" v: Open document symbol explorer
"""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
source ~/.vim/configs.vim
@@ -19,11 +38,7 @@ set tabstop=4
set shiftwidth=4
" Searches
set hlsearch " highlight search occurrences
set ignorecase " ignore case in search patterns
set smartcase " no ignore case when pattern is uppercase
set incsearch " show search results while typing
set wrapscan " searches wrap around the end of the file
set hlsearch ignorecase smartcase incsearch wrapscan
" Common settings
set gdefault " substitute all occurrences in line