Squashed 'vim/' changes from bb3025e..a7a5990
a7a5990 Add c snippet, update vundle 38330c0 Merge branch 'master' of vcs.murgi.de:dotfiles_fabian/vim 6fa8102 Smartcase, new kernel snippet c9e8778 Finally fix copying to clipboard (hopefully) git-subtree-dir: vim git-subtree-split: a7a599024ad06c9533e7b323b386e25e863e2e95
This commit is contained in:
4
.vimrc
4
.vimrc
@@ -146,6 +146,8 @@ set mouse=a " Mouse control
|
||||
set incsearch " search while entering
|
||||
set hlsearch " highlight matches
|
||||
nnoremap <Leader>h :set hlsearch!<CR>
|
||||
set ignorecase
|
||||
set smartcase
|
||||
|
||||
" Line wrapping
|
||||
set tw=79 " set textwidth of 80 characters
|
||||
@@ -171,7 +173,7 @@ nmap <Leader>t :call TextWrapToggle()<CR>
|
||||
"augroup END
|
||||
|
||||
"Copying
|
||||
set clipboard=unnamedplus " Copy/Paste
|
||||
set clipboard=unnamedplus,unnamed " Copy/Paste
|
||||
|
||||
|
||||
" TagBar
|
||||
|
||||
Submodule bundle/Vundle.vim updated: f6cc06238d...6497e37694
@@ -1,11 +1,11 @@
|
||||
snippet dprintk "Printk current func and debug info ..."
|
||||
printk("%s: ${1}\n", __func__${2});
|
||||
printk("%s:%d:%s: ${1}\n",__FILE__,__LINE__, __FUNCTION__${2});
|
||||
endsnippet
|
||||
|
||||
snippet dprint "Printk current func and debug info ..."
|
||||
printf("%s: ${1}\n", __func__${2});
|
||||
printf("%s:%d:%s: ${1}\n",__FILE__,__LINE__, __FUNCTION__${2});
|
||||
endsnippet
|
||||
|
||||
snippet dprintf "Printk current func and debug info ..."
|
||||
printf("%s: ${1}\n", __func__${2});
|
||||
printf("%s:%d:%s: ${1}\n",__FILE__,__LINE__, __FUNCTION__${2});
|
||||
endsnippet
|
||||
|
||||
Reference in New Issue
Block a user