Last active
February 27, 2025 19:13
-
-
Save kylebgorman/3372958 to your computer and use it in GitHub Desktop.
my .vimrc (pretty basic)
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
syn on | |
set ruler | |
" tab stuff | |
set expandtab | |
set hlsearch | |
set tabstop=4 | |
" scrolling | |
set scrolloff=5 | |
" backspace over everythign | |
set backspace=indent,eol,start | |
" (non)bells and whistles | |
set background=dark | |
set noerrorbells | |
set novisualbell | |
" scrolling between windows | |
map <C-j> <C-w>w | |
map <C-k> <C-w>w | |
" remember last edited position | |
if has("autocmd") | |
augroup vimrc | |
au! | |
autocmd BufReadPost * | |
\ if line("'\"") > 0 && line("'\"") <= line("$") | | |
\ exe "normal g`\"" | | |
\ endif | |
augroup END | |
filetype on | |
filetype plugin on | |
endif |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment