" Vim filetype plugin file " " Language : bash " Plugin : bash-support.vim " Maintainer : Fritz Mehner " " ----------------------------------------------------------------- " " Only do this when not done yet for this buffer " if exists("b:did_BASH_ftplugin") finish endif let b:did_BASH_ftplugin = 1 " "------------------------------------------------------------------------------ " Avoid a wrong syntax highlighting for $(..) and $((..)) "------------------------------------------------------------------------------ let b:is_bash = 1 " "------------------------------------------------------------------------------- " additional mapping : single quotes around a Word (non-whitespaces) " masks the normal mode command '' (jump to the position " before the latest jump) " additional mapping : double quotes around a Word (non-whitespaces) "------------------------------------------------------------------------------- nnoremap '' ciW''P nnoremap "" ciW""P " "------------------------------------------------------------------------------- " set "maplocalleader" as configured using "g:BASH_MapLeader" "------------------------------------------------------------------------------- call Bash_SetMapLeader () " " maps defined here will use "g:BASH_MapLeader" as " example: "map eg :echo "Example Map :)" " "------------------------------------------------------------------------------- " reset "maplocalleader" "------------------------------------------------------------------------------- call Bash_ResetMapLeader () "