vim: strg+p - set paste

This commit is contained in:
Michael Grote 2021-08-24 08:57:21 +02:00
parent 8f1483d21b
commit cb4bdf0084

5
.vimrc
View file

@ -71,6 +71,8 @@ set clipboard=unnamedplus " https://unix.stackexchange.com/questions/125
nmap <C-s> :w<CR>
" ctrl+W zum schließen
nmap <C-w> :q<CR>
" ctrl+P: set paste
nmap <C-p> :set paste!<CR>
" leader-key
:let mapleader = ","
@ -121,7 +123,8 @@ nmap <C-f> :CtrlP<CR>
set wildignore+=*/tmp/*,*.so,*.swp,*.zip " MacOSX/Linux
set wildignore+=*\\tmp\\*,*.swp,*.zip,*.exe " Windows
let g:ctrlp_custom_ignore = '\v[\/]\.(git|hg|svn)$'
" stelle standard keybinding um
let g:ctrlp_map = ''
" vimagit
" https://github.com/jreybert/vimagit#mappings
nmap <Leader>m :Magit<cr>