Some changes

This commit is contained in:
Emerson Veenstra 2017-07-04 10:19:07 -04:00
parent 1cb0dc2c96
commit 2dfc0487ac
3 changed files with 4 additions and 6 deletions

View File

@ -1 +1,2 @@
set cinwords=if,elif,else,for,while,try,except,finally,def,class
set nosmartindent

7
.vimrc
View File

@ -36,9 +36,8 @@ set tabstop=2
set softtabstop=2
set shiftwidth=2
set noexpandtab
" Old school
set textwidth=80
set colorcolumn=+1
set textwidth=0
set colorcolumn=81
set autoindent
set smartindent
@ -72,7 +71,6 @@ set hidden
" Remapping things
let mapleader=","
set pastetoggle=<leader>p
" Making my life hard on purpose so it is easier later...
nnoremap <buffer><Left> <nop>
nnoremap <buffer><Right> <nop>
@ -111,6 +109,7 @@ inoremap <leader>; <esc>
"Toggle line numbering
nmap <Leader>l :setlocal number!<CR>
nmap <Leader>c :nohlsearch<CR>
set pastetoggle=<leader>p
map <C-J> :bnext<CR>
map <C-K> :bprev<CR>

2
.zshrc
View File

@ -16,8 +16,6 @@ function chpwd() {
emulate -L zsh
# Automatically fetch remotes and display Git status information when entering a repository.
if [[ -d .git ]]; then
clear
git fetch -q
git status
fi