瀏覽代碼

some updates

Kevin Heinicke 10 年之前
父節點
當前提交
17a5ea2346
共有 5 個文件被更改,包括 17 次插入7 次删除
  1. 1 0
      .ctags
  2. 6 0
      .vim/UltiSnips/tex.snippets
  3. 8 5
      .vimrc
  4. 1 1
      .ycm_extra_conf.py
  5. 1 1
      .zshrc

+ 1 - 0
.ctags

@@ -0,0 +1 @@
+-I noexcept

+ 6 - 0
.vim/UltiSnips/tex.snippets

@@ -11,6 +11,12 @@ snippet subsec
 \label{subsec:${2}}
 endsnippet
 
+# Subsection
+snippet subsubec
+\subsubsection{${1}}
+\label{subsubsec:${2}}
+endsnippet
+
 # Paragraph
 snippet par
 \paragraph{${1}}

+ 8 - 5
.vimrc

@@ -29,10 +29,8 @@ Plugin 'nvie/vim-flake8'
 Plugin 'Raimondi/delimitMate'
 Plugin 'SirVer/ultisnips'
 Plugin 'rizzatti/dash.vim'
-" all three following plugins are needed for vim-snipmate
-"Bundle "MarcWeber/vim-addon-mw-utils"
-"Bundle "tomtom/tlib_vim"
-"Bundle "garbas/vim-snipmate"
+Plugin 'octol/vim-cpp-enhanced-highlight'
+" Plugin 'gilligan/vim-lldb'
 
 " All of your Plugins must be added before the following line
 call vundle#end()            " required
@@ -91,7 +89,7 @@ colo Tomorrow-Night-Eighties
 
 " YCM Configuration
 " dont use python-mode autocomplete obsolete now, because of YCM
-let g:ycm_filetype_whitelist = {'cpp': 1, 'py': 1, 'arduino': 1}
+let g:ycm_filetype_whitelist = {'cpp': 1, 'py': 1, 'python': 1, 'arduino': 1}
 " set ycm_extra_conf
 let g:ycm_global_ycm_extra_conf = '~/.vim/ycm.py'
 " turn off the ycm diagnostic because of struggling with root
@@ -132,5 +130,10 @@ autocmd BufWritePost *.py call Flake8()
 " instant markdown
 let g:instant_markdown_autostart = 0
 
+" vebugger
+let g:vebugger_leader = "."
+
 " activate mouse support
 set mouse=a
+
+syn keyword cppExceptions noexcept

+ 1 - 1
.ycm_extra_conf.py

@@ -38,7 +38,7 @@ flags = [
 '-Wall',
 '-Wextra',
 '-Werror',
-'-Wc++98-compat',
+'-Wc++14-compat',
 '-Wno-long-long',
 '-Wno-variadic-macros',
 '-fexceptions',

+ 1 - 1
.zshrc

@@ -23,7 +23,7 @@ source $ZSH/oh-my-zsh.sh
 # list directory in human readable (-h), listed (-l) way. Show all files (-a).
 # -F: display an indicator for special list entries (folder, links, etc...)
 alias ll='ls -Fhla | less -R'
-alias l='ls -lha'
+alias l='ls -lhatr'
 
 # git aliases
 alias gits='git status -s'