mirror of
https://github.com/He4eT/dotfiles.git
synced 2026-05-04 23:47:23 +00:00
vim: unified copy mapings
This commit is contained in:
parent
b09887e6e1
commit
aad4a043da
1 changed files with 6 additions and 1 deletions
|
|
@ -14,6 +14,9 @@
|
||||||
set tabstop=2
|
set tabstop=2
|
||||||
set shiftwidth=2
|
set shiftwidth=2
|
||||||
|
|
||||||
|
let mapleader = ' '
|
||||||
|
nnoremap <SPACE> <Nop>
|
||||||
|
|
||||||
filetype plugin indent on
|
filetype plugin indent on
|
||||||
|
|
||||||
""" Plugins
|
""" Plugins
|
||||||
|
|
@ -65,10 +68,12 @@
|
||||||
let g:airline_section_x = airline#section#create(['%l:%v'])
|
let g:airline_section_x = airline#section#create(['%l:%v'])
|
||||||
let g:airline_section_y = airline#section#create([''])
|
let g:airline_section_y = airline#section#create([''])
|
||||||
let g:airline_section_z = airline#section#create(['%p%%'])
|
let g:airline_section_z = airline#section#create(['%p%%'])
|
||||||
|
let g:airline#extensions#whitespace#enabled = 1
|
||||||
|
|
||||||
set laststatus=2
|
set laststatus=2
|
||||||
set noshowmode
|
set noshowmode
|
||||||
|
|
||||||
""" Copy'n'paste
|
""" Copy'n'paste
|
||||||
|
|
||||||
nnoremap <silent><C-c> :call system('xclip -i -selection clipboard', @@)<cr>
|
nnoremap <silent><leader>y :call system('xclip -i -selection clipboard', @@)<cr>
|
||||||
|
vnoremap <silent><leader>y y:call system('xclip -i -selection clipboard', @@)<cr>
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue