This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
High Aesthetic : You very much prefer form, harmony and balance. You are | |
likely a strong advocate for green initiatives and | |
protecting personal time and space. | |
Very Low Economic : You may try to help meet customers' needs (internal and | |
external) before your own. | |
High Individualistic : You have no problem standing up for your own rights and | |
may impart this energy into others as well. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Creates a header file from the function declarations within the current C | |
" file. | |
" Barry Arthur, 2012 05 15 | |
let header = expand('%:r') . '.h' | |
if filereadable(header) | |
echo "Header file " . header . " exists!" | |
finish | |
endif | |
silent exe "!touch " . header |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Tabnewleft - Open tab page to the left of the current tab page | |
" Barry Arthur, 2012 5 17 | |
function! Tabnewleft() | |
let curtabpage = tabpagenr() | |
tabnew | |
exe "tabmove " . (curtabpage - 1) | |
endfunction | |
command! Tabnewleft call Tabnewleft() |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Diffalicious - Compare two mouse-selected texts in Vim | |
" Barry Arthur, 2012 5 18 | |
let s:second_window_text = "Select text to compare with other window and press <enter> here." | |
function! Diffalicious() | |
tabnew | |
call DiffPasteIt() | |
botright vnew | |
call setline(1, s:second_window_text) |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Help terms can include characters typically not considered within keywords. | |
function! ExpandHelpWord() | |
let iskeyword = &iskeyword | |
set iskeyword=!-~,^),^*,^\|,^",192-255 | |
let word = expand('<cword>') | |
let &iskeyword = iskeyword | |
return word | |
endfunction | |
" F1 to show context sensitive help for keyword under cursor |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
129 tabs | |
117 smartindent | |
104 buffers | |
93 nohl | |
93 csapprox | |
92 anyone | |
78 indent | |
77 vim-tiny | |
75 doesn't work | |
69 movement |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#include <stdio.h> | |
int main() { | |
printf("") | |
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
" Vim support file to detect file types | |
" | |
" Maintainer: Bram Moolenaar <Bram@vim.org> | |
" Last Change: 2012 Feb 03 | |
" Listen very carefully, I will say this only once | |
if exists("did_load_filetypes") | |
finish | |
endif | |
let did_load_filetypes = 1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set conceallevel=2 concealcursor=nc | |
syntax match spaceDots " " conceal cchar=· | |
hi spaceDots ctermbg=fg ctermfg=197 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
set conceallevel=2 concealcursor=nciv | |
syntax match spaceDots " " conceal cchar=· | |
hi clear Conceal | |
hi Conceal ctermfg=244 ctermbg=233 |