1
0
mirror of https://github.com/akelge/zsh synced 2025-07-03 21:19:06 +00:00

Unified zsh startup

Removed environment
Added Mako syntax to VI
This commit is contained in:
2009-05-06 13:44:15 +00:00
parent f7dabac03a
commit 3e5eb6a66e
11 changed files with 326 additions and 758 deletions

View File

@ -1,14 +1,16 @@
"
" General Setup
"
" $Id$
set nocompatible " Use Vim defaults (much better!)
set backspace=indent,eol,start " allow backspacing over everything
set textwidth=78
set textwidth=0
set backup
set viminfo='20,\"50,f10
set history=50
set nohlsearch
set nostartofline
"set paste
set ruler
@ -70,7 +72,7 @@ function! CleverTab()
endfunction
" map the function to Tab
" inoremap <C-\> <C-R>=CleverTab()<CR>
inoremap <C-\> <C-N>
set completeopt=longest
" Emacs like indenting. Pressing Tab indents line
@ -123,6 +125,14 @@ nnoremap <silent> <Leader>t :Tlist<CR>
nnoremap <silent> <Leader>N :set number!<CR>
nnoremap <silent> <Leader>b :HSBufExplorer<CR>
map <silent> <Leader>c <plug>NERDCommenterToggle
inoremap <silent> <C-\> <C-N>
inoremap <silent> <C-Tab> <C-N>
" Visual mode selection
nnoremap <silent> <S-Down> V
nnoremap <silent> <S-Up> V
vnoremap <silent> <S-Down> j
vnoremap <silent> <S-Up> k
" Vim5 comes with syntaxhighlighting. If you want to enable syntaxhightlighting
" by default uncomment the next three lines.