Last active
November 12, 2020 06:36
-
-
Save taufik-nurrohman/4b80ea5bbbd25f5351e0c7b08972544c to your computer and use it in GitHub Desktop.
Generic Vim Settings
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
" Set default encoding | |
set encoding=utf-8 | |
" Show line number(s) | |
set number | |
set ruler | |
" Enable line wrap | |
set wrap | |
" Show command(s) | |
set showcmd | |
" Do not `hlsearch` until I press <ENTER> | |
set noincsearch | |
set hlsearch | |
set ignorecase | |
set smartcase | |
" Indent with 2 space(s) | |
set tabstop=2 | |
set shiftwidth=2 | |
" Automatic indentation | |
set smarttab | |
set expandtab | |
set wildmenu | |
set autoread | |
set history=1000 | |
" Immediately scroll before reaching edge | |
set scrolloff=8 | |
set sidescroll=1 | |
set sidescrolloff=15 | |
set mouse=a | |
set title | |
set nocompatible | |
set t_Co=256 | |
set t_AB=^[[48;5;%dm | |
set t_AF=^[[38;5;%dm | |
set term=xterm-256color | |
" Set color scheme | |
"colorscheme sunburst | |
filetype plugin indent on | |
syntax on | |
" Clear search marker with <CTRL>+<L> | |
nnoremap <silent> <C-L> :nohlsearch<CR><C-L> | |
" If you are using pathogen | |
"execute pathogen#infect() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
NERDTree specific settings: