Skip to content

Commit 513bbeb

Browse files
committed
Add vala support, minor tweaks
1 parent 9be198e commit 513bbeb

File tree

9 files changed

+45
-6
lines changed

9 files changed

+45
-6
lines changed

.gitmodules

+3
Original file line numberDiff line numberDiff line change
@@ -55,3 +55,6 @@
5555
[submodule "bundle/vim-less"]
5656
path = bundle/vim-less
5757
url = https://github.com/groenewege/vim-less
58+
[submodule "bundle/vala"]
59+
path = bundle/vala
60+
url = https://github.com/arrufat/vala.vim

.vimrc

+10-4
Original file line numberDiff line numberDiff line change
@@ -87,11 +87,12 @@ function! ToggleLongLines()
8787
endf
8888

8989
nmap <c-c> :cs find c <cword><CR>
90-
let g:ctrlp_map = '<c-a-p>'
91-
nmap <c-p> :CtrlPMixed<CR>
92-
let g:ctrlp_working_path_mode = 0
90+
let g:ctrlp_map = '<c-p>'
91+
let g:ctrlp_cmd = 'CtrlPCurWD'
92+
" nmap <c-p> :CtrlPCurWD<CR>
93+
let g:ctrlp_working_path_mode = 2
9394
let g:ctrlp_custom_ignore = {
94-
\ 'dir': '\.git$\|\.hg$\|\.svn$\|node_modules$\|build$',
95+
\ 'dir': '\.git$\|\.hg$\|\.svn$\|node_modules$\|build\|.output$',
9596
\ 'file': '\.pyc$',
9697
\ 'link': 'some_bad_symbolic_links',
9798
\ }
@@ -148,6 +149,7 @@ nmap <c-e>t <Plug>ToggleQf
148149
" Nerd tree
149150
map gn :NERDTreeToggle<CR>
150151
map gN :NERDTreeFind<CR>
152+
let NERDTreeIgnore = ['__pycache__', '\~$']
151153

152154
" Andrew movement
153155
nnoremap J 5j
@@ -196,6 +198,7 @@ set nofoldenable
196198
" coffee-script
197199
" let coffee_make_options = '--lint' " lint resulting js
198200

201+
" remove trailing whitespace
199202
autocmd BufWritePre * :%s/\s\+$//e
200203

201204
" pylint
@@ -278,3 +281,6 @@ nmap = :s/\%#.*\zs[-=]\ze>/\=CoffeeChangeFunctionTypeHelper(submatch(0))/<cr>
278281
let g:pep8_enabled = 0
279282

280283
au BufNewFile,BufRead *.ejs set filetype=html
284+
285+
nmap cpf+ :let @+ = expand("%")<CR>
286+
nmap cpf* :let @* = expand("%")<CR>

after/ftplugin/c.vim

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
setlocal commentstring=//\ %s

after/ftplugin/cpp.vim

+1
Original file line numberDiff line numberDiff line change
@@ -0,0 +1 @@
1+
setlocal commentstring=//\ %s

bundle/vala

Submodule vala added at ce569e1

ftplugin/c.vim

-1
This file was deleted.

ftplugin/cpp.vim

-1
This file was deleted.

spell/bg.utf-8.add

+29
Original file line numberDiff line numberDiff line change
@@ -21,3 +21,32 @@ iPhone
2121
smartphone
2222
texting
2323
ECTS
24+
ѝ
25+
авторизация
26+
криптографска
27+
достъпват
28+
одит
29+
интернет
30+
VPNs
31+
VPN
32+
авторизацията
33+
автентикация
34+
конектори
35+
смартфони
36+
таблети
37+
достъпени
38+
подизпълнители
39+
артефакти
40+
транзакционни
41+
VoIP
42+
нерегламентиран
43+
одитира
44+
уебсайтове
45+
фърмуер
46+
топология
47+
мидълуер
48+
фърмуера
49+
автентикатори
50+
автентикатора
51+
автентикаторите
52+
криптографски

spell/bg.utf-8.add.spl

671 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)