Anonymous avatar Anonymous committed 8de40d8

Update CMake tab settings

Comments (0)

Files changed (1)

 " My non-GUI Vim customizations
 " Maintainer: Jon Maken
 " License: Apache 2.0
-" Last Change: 2013-03-17 20:24:20 -0600
+" Last Change: 2013-03-17 20:42:31 -0600
 
 " set custom key mapping prefix, aka the <Leader>
 let mapleader = ","
   " For all PowerShell files use 2 spaces for tabs
   autocmd FileType ps1 setlocal et ts=2 sw=2
 
+
+  " For all CMake files use 4 spaces for tabs
+  autocmd FileType cmake setlocal et sw=4 sts=4
+
   " When editing a file, always jump to the last known cursor position.
   " Don't do it when the position is invalid or when inside an event handler
   " (happens when dropping a file on gvim).
Tip: Filter by directory path e.g. /media app.js to search for public/media/app.js.
Tip: Use camelCasing e.g. ProjME to search for ProjectModifiedEvent.java.
Tip: Filter by extension type e.g. /repo .js to search for all .js files in the /repo directory.
Tip: Separate your search with spaces e.g. /ssh pom.xml to search for src/ssh/pom.xml.
Tip: Use ↑ and ↓ arrow keys to navigate and return to view the file.
Tip: You can also navigate files with Ctrl+j (next) and Ctrl+k (previous) and view the file with Ctrl+o.
Tip: You can also navigate files with Alt+j (next) and Alt+k (previous) and view the file with Alt+o.