Last active
September 21, 2021 14:43
-
-
Save oberguiuc/ef9c4943d646042f148388800a5cb6b6 to your computer and use it in GitHub Desktop.
My .vimrc with color and keyboard shortcuts
This file contains hidden or 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 nocompatible | |
colorscheme Tomorrow-Night | |
set number | |
"set lines=35 columns=150 | |
"let mapleader=" " | |
"map <leader>s :source ~/.vimrc<CR> | |
set hidden | |
set history=100 | |
filetype indent on | |
set nowrap | |
set tabstop=4 | |
set shiftwidth=4 | |
set expandtab | |
"set smartindent | |
"set autoindent | |
"set hlsearch | |
"nnoremap <silent> <Esc> :nohlsearch<Bar>:echo<CR> | |
"map <Right> <C-w>l | |
"map <Left> <C-w>h | |
"map <Down> <C-w><C-w> | |
"map <Up> <C-w>W | |
"nnoremap <Leader><Leader> :e#<CR> | |
"set showmatch | |
set pastetoggle=<F3> | |
nnoremap <C-Left> :tabprevious<CR> | |
nnoremap <C-Right> :tabnext<CR> | |
map , gT | |
map . gt | |
nnoremap <silent> gc xph | |
"insert tab character when expandtab option is on | |
inoremap <S-Tab> <C-V><Tab> | |
autocmd BufNewFile,BufRead *.twig set filetype=html |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment