Skip to content

Instantly share code, notes, and snippets.

@xlyk
Created August 25, 2022 16:12
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save xlyk/b8fffa95a0bcdce5768c5e1467d5a6a9 to your computer and use it in GitHub Desktop.
Save xlyk/b8fffa95a0bcdce5768c5e1467d5a6a9 to your computer and use it in GitHub Desktop.
""" Map leader to space ---------------------
let mapleader=" "
set clipboard+=unnamed
""" Plugins --------------------------------
set surround
set commentary
set argtextobj
set easymotion
set textobj-entire
set highlightedyank
set NERDTree
""" Plugin settings -------------------------
let g:argtextobj_pairs="[:],(:),<:>"
""" Common settings -------------------------
set showmode
set so=5
set incsearch
set nu
set relativenumber
""" Idea specific settings ------------------
set ideajoin
set ideastatusicon=gray
set idearefactormode=keep
""" Mappings --------------------------------
map <C-h> <Action>(PreviousTab)
map <C-l> <Action>(NextTab)
map <C-n> :NERDTreeToggle<CR>
map <leader><leader>f <Plug>(easymotion-s)
map <leader><leader>e <Plug>(easymotion-f)
map <leader>r <Action>(RenameElement)
map <leader>o <Action>(FileStructurePopup)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment