Clean up conflict of M window move with marks
(changed M to \m for show marks)
This commit is contained in:
@@ -50,7 +50,7 @@ These are things I use every day to be insanely productive. Hope you like em.
|
|||||||
* T - Tag list (list of methods in a class)
|
* T - Tag list (list of methods in a class)
|
||||||
* K - git grep for the Kurrent word under the cursor
|
* K - git grep for the Kurrent word under the cursor
|
||||||
* O - Open a GitGrep command line with a quote pretyped (close the quote yourself)
|
* O - Open a GitGrep command line with a quote pretyped (close the quote yourself)
|
||||||
* M - show my Marks (set a mark with mX where X is a letter, navigate to mark using 'X). Uppercase marks to mark files, lowercase marks to use within a file.
|
* \m - show my Marks (set a mark with mX where X is a letter, navigate to mark using 'X). Uppercase marks to mark files, lowercase marks to use within a file.
|
||||||
* Z - jump back and forth between last two buffers
|
* Z - jump back and forth between last two buffers
|
||||||
* Q - Quit a window (normally Ctrl-w,c)
|
* Q - Quit a window (normally Ctrl-w,c)
|
||||||
* \Q - Kill a buffer completely (normally :bw)
|
* \Q - Kill a buffer completely (normally :bw)
|
||||||
|
|||||||
22
vimrc
22
vimrc
@@ -134,23 +134,14 @@ if has("gui_running")
|
|||||||
"tell the term has 256 colors
|
"tell the term has 256 colors
|
||||||
set t_Co=256
|
set t_Co=256
|
||||||
|
|
||||||
if has("gui_gnome")
|
" colorscheme railscasts
|
||||||
set term=gnome-256color
|
colorscheme solarized
|
||||||
colorscheme desert
|
|
||||||
else
|
|
||||||
colorscheme railscasts
|
|
||||||
set guitablabel=%M%t
|
set guitablabel=%M%t
|
||||||
set lines=60
|
set lines=60
|
||||||
set columns=190
|
set columns=190
|
||||||
endif
|
|
||||||
if has("gui_mac") || has("gui_macvim")
|
|
||||||
set guifont=Monaco:h17
|
set guifont=Monaco:h17
|
||||||
set guifont=Inconsolata:h20 " if available, this one is nicer
|
set guifont=Inconsolata:h20 " if available, this one is nicer
|
||||||
endif
|
|
||||||
if has("gui_win32") || has("gui_win32s")
|
|
||||||
set guifont=Consolas:h12
|
|
||||||
set enc=utf-8
|
|
||||||
endif
|
|
||||||
else
|
else
|
||||||
"dont load csapprox if we no gui support - silences an annoying warning
|
"dont load csapprox if we no gui support - silences an annoying warning
|
||||||
let g:CSApprox_loaded = 1
|
let g:CSApprox_loaded = 1
|
||||||
@@ -364,9 +355,12 @@ nmap <silent> S \lj
|
|||||||
let g:LustyJugglerSuppressRubyWarning = 1
|
let g:LustyJugglerSuppressRubyWarning = 1
|
||||||
let g:LustyJugglerAltTabMode = 1
|
let g:LustyJugglerAltTabMode = 1
|
||||||
|
|
||||||
" Show me all my marks (using showmarks plugin)
|
" Show me all my marks (using showmarks plugin) using \m
|
||||||
nnoremap <silent> M :PreviewMarks<CR>
|
nnoremap <silent> <Leader>m :PreviewMarks<CR>
|
||||||
|
|
||||||
" copy current filename into system clipboard - mnemonic: (c)urrent(f)ilename
|
" copy current filename into system clipboard - mnemonic: (c)urrent(f)ilename
|
||||||
" this is helpful to paste someone the path you're looking at
|
" this is helpful to paste someone the path you're looking at
|
||||||
nnoremap <silent> cf :let @* = expand("%:p")<CR>
|
nnoremap <silent> cf :let @* = expand("%:p")<CR>
|
||||||
|
|
||||||
|
" For fugitive.git, dp means :diffput. Define dg to mean :diffget
|
||||||
|
nnoremap <silent> dg :diffget<CR>
|
||||||
|
|||||||
Reference in New Issue
Block a user