Commits

Evgeny Podjachev committed 5c4b756

Next.

Comments (0)

Files changed (4)

.vim/bundle/FSwitch/plugin/fswitch.vim

 "
 augroup fswitch_au_group
     au!
-    au BufEnter *.h call s:SetVariables('cpp,c', 'reg:/include/src/,reg:/include.*/src/,ifrel:|/include/|../src|')
-    au BufEnter *.c,*.cpp call s:SetVariables('h', 'reg:/src/include/,reg:|src|include/**|,ifrel:|/src/|../include|')
+    "au BufEnter *.h call s:SetVariables('cpp,c', 'reg:/include/src/,reg:/include.*/src/,ifrel:|/include/|../src|')
+    "au BufEnter *.c,*.cpp call s:SetVariables('h', 'reg:/src/include/,reg:|src|include/**|,ifrel:|/src/|../include|')
+	au BufEnter *.h,*.hpp call s:SetVariables('cpp,c', 'reg:|inc$|src|,reg:/include/source/,reg:/Include/Source/,reg:/include.*/src/,ifrel:|/include/|../src|,ifrel:|/inc/|../src|')
+	au BufEnter *.c,*.cpp call s:SetVariables('h,hpp', 'reg:|src$|inc|,reg:/source/include/,reg:/Source/Include/,ifrel:|/src/|../include|,ifrel:|/src/|../inc|')
+
 augroup END
 
 "

.vim/bundle/snipMate/snippets/c.snippets

 	#endif /* end of include guard: $1 */
 # If Condition
 snippet if
-	if (${1:/* condition */}) {
+	if(${1:/* condition */}) {
 		${2:/* code */}
 	}
 snippet el
-	else {
+	else{
 		${1}
 	}
 # Tertiary conditional
 	} while (${1:/* condition */});
 # While Loop
 snippet wh
-	while (${1:/* condition */}) {
+	while(${1:/* condition */}) {
 		${2:/* code */}
 	}
 # For Loop
 snippet for
-	for (${2:i} = 0; $2 < ${1:count}; $2${3:++}) {
+	for(${2:i} = 0; $2 < ${1:count}; $2${3:++}) {
 		${4:/* code */}
 	}
 # Custom For Loop
 snippet forr
-	for (${1:i} = ${2:0}; ${3:$1 < 10}; $1${4:++}) {
+	for(${1:i} = ${2:0}; ${3:$1 < 10}; $1${4:++}) {
 		${5:/* code */}
 	}
 # Function
 	[${1}]${2}
 snippet un
 	unsigned
+snippet ui
+	unsigned int ${1}
+snippet us
+	unsigned short ${1}
+snippet uc
+	unsigned char ${1}

.vim/bundle/snipMate/snippets/cpp.snippets

 	private:
 		${3:/* data */}
 	};
+snippet csr
+	const std::string &${1}
+snippet tt
+	template<typename ${1}>
 
 set path=./
 set tags=~/.vim/tags/stl_tags
-set tags+=k:\projects\lockon\Projects\tags
+set tags+=./tags;/
 
 "begin Vundle
 set nocompatible               " be iMproved
 let g:YATE_max_matches_to_show=50
 let g:YATE_min_symbols_to_search=5
 
-let g:TAGM_tags = {}
-let g:TAGM_tags['~/.vim/tags/stl_tags'] = {'au_filetypes': ['cpp'], 'au_dir': [], 'build_command': ''}
-let g:TAGM_tags['k:/projects/lockon/Projects/tags'] = {'au_filetypes': [], 'au_dir': [], 'build_command': 'ctags -R --c++-kinds=+p --c-kinds=+p --fields=+iaS --excmd=pattern --extra=+qf --exclude=.svn --exclude=pch -f k:/projects/lockon/Projects/tags k:/projects/lockon/Projects/'}
-
 func! ExpandFolds()
 	if &foldlevel==10
 		set foldlevel=0