set nocompatible " Because what's even the point without this?
execute pathogen#infect()
syntax on
filetype plugin indent on
" 256 colors and colorscheme
set t_Co=256
colorscheme default
let mapleader=","
set number " Line numbers
set modeline " -- INSERT --
set backspace=2 " Make backspace work
set expandtab " Tabs -> spaces
set softtabstop=4 " Tabs -> spaces gooder
set tabstop=4 " Show tabs as 4 spaces
set shiftwidth=4 " Reident 4 spaces
set wildmenu " Menu for command mode
set lazyredraw " Don't redraw the screen greedily
set showmatch " Highlight matching [{()}]
"set incsearch " Search as you type
set hlsearch " Highlight all matches
" Unhighlight all matches
nnoremap <leader><space> :nohlsearch<CR>
set ruler " Show cursor location (29,45)
set hidden " Allow background buffers
" Backup to /tmp except what's in /tmp
set backup
set backupdir=/tmp
set backupskip=/tmp
set directory=/tmp
set writebackup
set noswapfile
" When moving between panes, C-hjkl instead of C-w C-hjkl
nnoremap <C-H> <C-W><C-H>
nnoremap <C-J> <C-W><C-J>
nnoremap <C-K> <C-W><C-K>
nnoremap <C-L> <C-W><C-L>
nnoremap <leader>r :!rustc % && ./%
Comments
0 B
|👍
/👎
0 B
|👍
/👎