Last active
August 14, 2020 10:16
-
-
Save mdsaleemj/eb4d7e6eb5458ac2782fb3153f97c6b2 to your computer and use it in GitHub Desktop.
My .vimrc file
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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