Skip to content

Instantly share code, notes, and snippets.

@mdsaleemj
Last active August 14, 2020 10:16
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 mdsaleemj/eb4d7e6eb5458ac2782fb3153f97c6b2 to your computer and use it in GitHub Desktop.
Save mdsaleemj/eb4d7e6eb5458ac2782fb3153f97c6b2 to your computer and use it in GitHub Desktop.
My .vimrc file
let mapleader=","
set number " show line numbers
"spaces to tab
set tabstop=2
set expandtab
set shiftwidth=2
" list invisible chars
set list
set listchars=eol:$,tab:>-,trail:~,extends:>,precedes:<
set cursorline
" filetype indent on " load filetype -specific indent files
set showmatch " highlight matching [{()]]
set incsearch " search as characters are entered
set hlsearch " highlight matches
"turn off search highlight
nnoremap <leader><space> :nohlsearch<CR>
inoremap jk <ESC>
" word about map
" map - root map , applies to normal , insert, visual mode
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment