comparison vim/vimrc @ 13:287b91d2898f

Some mapping changes.
author Ludovic Chabant <ludovic@chabant.com>
date Mon, 21 Nov 2011 00:10:49 -0800
parents 00cac5ebf546
children cec2213f938c
comparison
equal deleted inserted replaced
12:932bd763d920 13:287b91d2898f
126 " Enable file type detection. 126 " Enable file type detection.
127 filetype indent plugin on 127 filetype indent plugin on
128 128
129 " MiniBufExplorer 129 " MiniBufExplorer
130 " Navigate with CTRL+Tab/CTRL+Shift+Tab 130 " Navigate with CTRL+Tab/CTRL+Shift+Tab
131 let g:miniBufExplMapCTabSwitchBufs = 1 131 "let g:miniBufExplMapCTabSwitchBufs = 1
132 132
133 " Custom mappings. 133 " Custom mappings.
134 let mapleader="\\" 134 let mapleader="\\"
135 " MiniBufExplorer mappings 135 " MiniBufExplorer mappings
136 map <leader>e :MiniBufExplorer<cr> 136 map <leader>e :MiniBufExplorer<cr>
137 map <leader>c :CMiniBufExplorer<cr> 137 map <leader>c :CMiniBufExplorer<cr>
138 map <leader>u :UMiniBufExplorer<cr> 138 map <leader>u :UMiniBufExplorer<cr>
139 map <leader>t :TMiniBufExplorer<cr> 139 map <leader>t :TMiniBufExplorer<cr>
140 " Close buffer with CTRL+W 140 " Close buffer with CTRL+W
141 map <C-w> :bdelete<cr> 141 "map <C-w> :bdelete<cr>
142
143 " Open NERDtree
144 map <leader>n :NERDTreeToggle<cr>
142 145
143 " Temporary stuff 146 " Temporary stuff
144 "let mapleader="," " Use , as Leader 147 "let mapleader="," " Use , as Leader
145 "let gmapleader="," 148 "let gmapleader=","
146 "map Y y$ " Yank to the end of the line w/ Y 149 "map Y y$ " Yank to the end of the line w/ Y