diff --git a/.vimrc b/.vimrc index d1fe6fa..ecb2059 100644 --- a/.vimrc +++ b/.vimrc @@ -146,6 +146,8 @@ set mouse=a " Mouse control set incsearch " search while entering set hlsearch " highlight matches nnoremap h :set hlsearch! +set ignorecase +set smartcase " Line wrapping set tw=79 " set textwidth of 80 characters @@ -171,7 +173,7 @@ nmap t :call TextWrapToggle() "augroup END "Copying -set clipboard=unnamedplus " Copy/Paste +set clipboard=unnamedplus,unnamed " Copy/Paste " TagBar diff --git a/bundle/Vundle.vim b/bundle/Vundle.vim index f6cc062..6497e37 160000 --- a/bundle/Vundle.vim +++ b/bundle/Vundle.vim @@ -1 +1 @@ -Subproject commit f6cc06238d5ac888ddfc514f80392f44cb2e21ac +Subproject commit 6497e37694cd2134ccc3e2526818447ee8f20f92 diff --git a/my-snippets/UltiSnips/c.snippets b/my-snippets/UltiSnips/c.snippets index 4a9b751..49911f8 100644 --- a/my-snippets/UltiSnips/c.snippets +++ b/my-snippets/UltiSnips/c.snippets @@ -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