Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP

Comparing changes

Choose two branches to see what's changed or to start a new pull request. If you need to, you can also compare across forks.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also compare across forks.
base fork: tokei/conf-scripts
base: b72335f9e3
...
head fork: tokei/conf-scripts
compare: d9ef3d2e3e
  • 2 commits
  • 3 files changed
  • 0 commit comments
  • 1 contributor
Showing with 50 additions and 19 deletions.
  1. +33 −0 .vimrc
  2. +0 −19 README
  3. +17 −0 README.textile
View
33 .vimrc
@@ -0,0 +1,33 @@
+
+" Tabs
+set tabstop=4
+set expandtab
+set autoindent
+set smartindent
+
+
+" Syntax always on
+:syntax on
+
+" Toggle syntax highlighting with ;syn
+function ToggleSyntax()
+ if exists("g:syntax_on")
+ syntax off
+ else
+ syntax on
+ endif
+endfunction
+
+nmap <silent> ;syn :call ToggleSyntax()<CR>
+
+
+" Toggle spell checking with ;spell
+function ToggleSpell()
+ if &l:spell
+ setlocal nospell
+ else
+ setlocal spell spelllang=en_us
+ endif
+endfunction
+
+nmap <silent> ;spell :call ToggleSpell()<CR>
View
19 README
@@ -1,19 +0,0 @@
-Just some personal config files and scripts that I want to keep save
-and that might be of interest for others too.
-
-Please remember that most of the config files start with a dot so
-they might not show up on a `ls`, depending on your parameters.
-
-I would be very interessted in any feedback so feel free to drop me
-a line.
- tokei, tokei@cccmz.de
-
-
-Table of contents:
-
-* .gitconfig - global git configuration with some colors
-* bashrc
- * .bashrc - main .bashrc with prompt and paths
- * alias.sh - useful aliases
- * parse_git_branch.sh - bash function to parse the git branch of
- the current directory to be used in the prompt
View
17 README.textile
@@ -0,0 +1,17 @@
+h2. conf+scripts
+
+These are just some personal config files and scripts that I want to keep save and that might be of interest for others too. I would be very interessted in any feedback so feel free to drop me a line.
+
+/tokei, tokei@cccmz.de
+
+
+h2. Table of contents:
+
+* .gitconfig - global git configuration with some colors
+* bashrc
+** .bashrc - main .bashrc with prompt and paths
+** alias.sh - useful aliases
+** parse_git_branch.sh - bash function to parse the git branch of the current directory to be used in the prompt
+* .vimrc - vim configuration with tab options and functions to toggle syntax and spell check
+
+_Please remember that most of the config files start with a dot so they might not show up on a `ls`, depending on your parameters._

No commit comments for this range

Something went wrong with that request. Please try again.