Sharing configuration files

Update: Git has a very useful ‘include’ facility to make sharing common configuration a pretty simple process. In your ~\.gitconfig: [include] path = “c:/users/charles/dropbox/git/commonConfig” Place this line early in .gitconfig; any settings in the common config file that need to be overridden on a particular computer can be included later in the local .gitconfig. Be …

Continue reading ‘Sharing configuration files’ »

Using TagBar and vim with .ini files

One application I work with uses a .ini file with over 30 sections.  I thought it would be handy to ‘outline’ that with tagbar. In ctags.cnf, add: –langdef=inifile –langmap=inifile:.ini –regex-inifile=/^\[([,&0-9A-Za-z ]+)\]/\1/s,section/ (I am still tuning the regex.  Please leave a comment if you have a better version…) And in _vimrc: let g:tagbar_type_dosini = { \ ‘ctagstype’ …

Continue reading ‘Using TagBar and vim with .ini files’ »

Vim, Ctags, and PowerShell

Since I have been working with some PowerShell modules that consist of several .ps1 files (in addition to the .psm1 file), I was curious as to whether ctags could work with PowerShell. This post was a pretty good start.  There were two problems, easily fixed. The first was in the command line to add PowerShell …

Continue reading ‘Vim, Ctags, and PowerShell’ »