Created
September 27, 2019 21:17
-
-
Save torresjrjr/818575d422b17b6daab2e7ec2d7f8e23 to your computer and use it in GitHub Desktop.
My .vimrc
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
" ~/.vimrc | |
" @torresjrjr | |
" =========== | |
" Settings | |
" -------- | |
set nocompatible " Turn off compatibility with Vi. | |
syntax on " Turn on syntax highlighting. | |
filetype plugin on " Enable plugins. | |
set showcmd " Show commands and keystrokes. | |
set number " Turn on numbered lines. | |
set hlsearch " Highlight searches. | |
set tabstop=4 " Displays \t in files as n spaces. | |
set softtabstop=4 " Size of entered <Tab>. | |
set shiftwidth=0 " Tab-width in vim behaivour. If 0, defaults to tabstop. | |
" Mappings | |
" -------- | |
" Remap ESC to `kj` in INSERT MODE. | |
inoremap kj <esc> | |
" Shortcut to build (save and run) a python script. | |
nnoremap <C-b> <esc>:w<space>!python<cr> | |
" Plugins | |
" ------- | |
set runtimepath^=~/.vim/bundle/goyo.vim | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment