Commits

Marlo Simon Noval  committed 5bfff76

Fixed NERDTree netrw. Added netrwhist in hgignore. Fixes in css snippets.

  • Participants
  • Parent commits 6ba68d8

Comments (0)

Files changed (3)

 
 # Added by Windows
 desktop.ini
+
+# GVim ignore
+.netrwhist

File snippets/css.snippets

 	display: block;
 snippet display display: inline
 	display: inline;
+snippet display display: inline-block
+	display: inline-block;
 snippet display display: common-types
-	display: ${1:none/inline/block/list-item/run-in/compact/marker};${2}
+	display: ${1:none/inline/block/inline-block/list-item/run-in/compact/marker};${2}
 #
 # Font
 snippet font font: style variant weight size/line-height font-family
 	* html $1{height: 1%}
 	$1{display: block}
 	$1-both {clear:both}${2}
-snippet =nav
-	${1:.nav} {} 
+snippet =menu
+	${1:.menu} {} 
 	$1 li {display: inline} 
 	$1 li a, $1 li a:visited {display: block; float: left; margin-right: ${2}px}
 	$1 li.last a, $1 li.last a:visited {margin-right: 0}${3}
-# Header All values
 snippet =header
 	h1, h2, h3, h4, h5, h6 {${1}}
 	h1 {font-size: 34px}
 	h6 {font-size: 14px}
 	h2,h4,h6 {color: #${2:DDD}}${3}
 # Header Default values
-snippet =headerd
-	h1, h2, h3, h4, h5, h6 {${1}}
-# Header Individual values
-snippet =headeri
-	h1 {font-size: 34px}
-	h2 {font-size: 22px}
-	h3 {font-size: 20px}
-	h4 {font-size: 18px}
-	h5 {font-size: 16px}
-	h6 {font-size: 14px}
 snippet =info
 	/*
 	Theme Name: ${1}
 # Margin
 snippet m
 	margin: ${1};${2}
-snippet mc
-	margin: 0 auto;
 snippet m0a
 	margin: 0 auto;
 snippet mn
 nmap <leader>x :x!<cr>
 nmap <leader>q :q<cr>
 
+" For making snippets
+nmap <leader>r p0dwkdd:w!<cr>:E<cr>%
+
 " Fast editing of the .vimrc
 map <leader>e :e! ~/.vim_mon/vimrc<cr>
 
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 map <silent> <leader>nn :NERDTree<CR>
 map <silent> <leader>nm :NERDTreeMirror<CR>
-let NERDTreeWinSize                = 20
-let NERDTreeMouseMode              = 2
-let NERDTreeWinPos                 = 'right'
+let NERDTreeWinSize     = 20
+let NERDTreeMouseMode   = 2
+let NERDTreeWinPos      = 'right'
+let NERDTreeHijackNetrw = 0
 let NERDTreeIgnore = ['\~$','\.[ao]$','\.swp$','\.DS_Store','\.svn','\.CVS','\.git','\.hg','\.pyc','\.pyo','\.png','\.gif','\.jpg','\.dropbox']
 
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 " Remove the Windows ^M - when the encodings gets messed up
 noremap <Leader>m mmHmt:%s/<C-V><cr>//ge<cr>'tzt'm
 
+" Set vim to change directory for each file
+if exists('+autochdir')
+  set autochdir
+else 
+  autocmd BufEnter * silent! lcd %:p:h:gs/ /\\ /
+endif
+
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
 " => Filetypes
 """""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""