+" Start interactive EasyAlign in visual mode (e.g. vipga)
+vmap <Enter> <Plug>(EasyAlign)
+" Start interactive EasyAlign for a motion/text object (e.g. gaip)
+nmap ga <Plug>(EasyAlign)
+
+
+""""""""""""""""""""""""""""""""""""""""""""""""""""""""""""
+" Some filetype-specific settings
+
+au Filetype gnuplot map <buffer> <F5> :call OpenIn("gnuplot -persist") <CR>
+
+" Performs a vertial split and a FSHere. For a header file the split is
+" performed to the left, for an implementation file to the right.
+function FSvsplit()
+ " We split to the right on header files
+ if match(expand('%:e'), 'h.*') >= 0
+ execute ':leftabove vsplit'
+ else
+ execute ':rightbelow vsplit'
+ endif
+
+ execute ':FSHere'
+endfunction
+
+au Filetype c,cpp,objc map <buffer> <F11> :call FSvsplit()<CR>
+" Terminal-based vi report S-F11 as F23