mirror of https://github.com/akelge/vim
Unnamed clipboard
This commit is contained in:
parent
ad96c523f9
commit
b3c1538760
1
gvimrc
1
gvimrc
|
@ -45,6 +45,7 @@ colorscheme Tomorrow-Night-Eighties
|
|||
|
||||
" Line/block move up/down
|
||||
if (has('mac') || has('macunix'))
|
||||
set clipboard=unnamed
|
||||
nnoremap <M-Up> :m .-2<CR>==
|
||||
nnoremap <M-Down> :m .+1<CR>==
|
||||
|
||||
|
|
|
@ -7,12 +7,14 @@ function! AppendModeline()
|
|||
call setpos('.', save_cursor)
|
||||
endfunction
|
||||
|
||||
" Define as a command
|
||||
" Define AppendModeline as a command
|
||||
command! -nargs=0 -bar AppendModeline call AppendModeline()
|
||||
"
|
||||
|
||||
" Map to <Leader>ml
|
||||
nnoremap <silent> <Leader>ml :call AppendModeline()<CR>
|
||||
|
||||
|
||||
function! GuiTabLabel()
|
||||
let label = ''
|
||||
let bufnrlist = tabpagebuflist(v:lnum)
|
||||
|
|
Loading…
Reference in New Issue