virtualedit is best

This commit is contained in:
Andrew Tomaka 2013-08-12 02:18:47 -04:00
parent 99b6758464
commit 6a9cef94ee
3 changed files with 3 additions and 1 deletions

View file

@ -22,6 +22,7 @@ alias gl="git log"
alias gh="git hist" alias gh="git hist"
alias ghd="git hist-details" alias ghd="git hist-details"
alias gr="git reset" alias gr="git reset"
alias grc="git rm --cached"
alias grh="git reset --hard" alias grh="git reset --hard"
alias gri="git rebase -i" alias gri="git rebase -i"
alias grm="git rm" alias grm="git rm"

View file

@ -18,7 +18,7 @@ set-option -g base-index 1
setw -g pane-base-index 1 setw -g pane-base-index 1
# 256 colors (bce matches whatever I am doing with t_Co=256 in vim) # 256 colors (bce matches whatever I am doing with t_Co=256 in vim)
set -g default-terminal "screen-256color-bce" set -g default-terminal "screen-256color"
# hostry should be longer # hostry should be longer
set -g history-limit 10000 set -g history-limit 10000

1
.vimrc
View file

@ -43,6 +43,7 @@ set colorcolumn=80 " Ruler at line 80
set nomodeline set nomodeline
set relativenumber " Relative line numbers set relativenumber " Relative line numbers
set noswapfile " Hope for the best set noswapfile " Hope for the best
set virtualedit=all " Cursor can go anywhere
" Tabs are 2 spaces " Tabs are 2 spaces
set tabstop=2 set tabstop=2
set softtabstop=2 set softtabstop=2