Skip to content

Instantly share code, notes, and snippets.

@infinex
Last active October 12, 2020 10:37
Show Gist options
  • Save infinex/9ca829b62c8ff8ebb4a91a9105303025 to your computer and use it in GitHub Desktop.
Save infinex/9ca829b62c8ff8ebb4a91a9105303025 to your computer and use it in GitHub Desktop.
vim
# ideavim
set visualbell
set noshowmatch
set relativenumber
set nohlsearch
set hidden
set noerrorbells
set tabstop=4 softtabstop=4
set shiftwidth=4
set expandtab
set smartindent
set nu
set nowrap
set smartcase
set undodir=~/.vim/undodir
set undofile
set backspace=indent,eol,start
set showmatch
set ignorecase
set smartcase
let mapleader = " "
set surround
set multiple-cursors
set ReplaceWithRegister
map <C-]> <A-n>
map <C-[> <A-p>
nnoremap d "_d
imap jj <Esc>
map <leader>d diw
##### set synax for json
:set filetype=json
:syntax on
:set foldmethod=syntax
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment