From 9b1192c42be7948f52cd13680729c034bc4cacb6 Mon Sep 17 00:00:00 2001 From: typebrook Date: Mon, 21 Jan 2019 23:08:48 +0800 Subject: update --- vimrc | 39 +++++++++++++++++++++++++++++++++++++++ 1 file changed, 39 insertions(+) create mode 100644 vimrc (limited to 'vimrc') diff --git a/vimrc b/vimrc new file mode 100644 index 0000000..2323fc0 --- /dev/null +++ b/vimrc @@ -0,0 +1,39 @@ +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Custom Config +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +set cursorline +set number +set relativenumber +set showcmd +"set clipboard=unnamedplus +nmap :q + + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => Make Alt key works on Gnome terminal +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" Solution is here: https://stackoverflow.com/questions/6778961 +let c='a' +while c <= 'z' + exec "set =\e".c + exec "imap \e".c." " + let c = nr2char(1+char2nr(c)) +endw +set timeout ttimeoutlen=50 + + +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" => vim-plug +""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""" +" run :PlugInstall to install plugins + +call plug#begin('~/.vim/plugged') + +" Add indent line +Plug 'Yggdroot/indentLine' +Plug 'mileszs/ack.vim' +Plug 'tpope/vim-surround' +Plug 'lifepillar/pgsql.vim' + +" Initialize plugin system +call plug#end() -- cgit v1.2.3-70-g09d2