Narzędzia użytkownika

Narzędzia witryny


wiki:vimrc

Różnice

Różnice między wybraną wersją a wersją aktualną.

Odnośnik do tego porównania

Poprzednia rewizja po obu stronachPoprzednia wersja
Ostatnia wersjaNastępna rewizja po obu stronach
wiki:vimrc [2022/08/18 11:44] – edycja zewnętrzna 127.0.0.1wiki:vimrc [2023/10/13 14:16] lukasz
Linia 2: Linia 2:
  
 <code> <code>
-set laststatus=2 
-set t_Co=256 
- 
 language messages C language messages C
 syntax on syntax on
Linia 17: Linia 14:
 set autoindent set autoindent
 map <F2> :write % <CR> map <F2> :write % <CR>
-map <F3> :!bash % <CR> +map <F3> :set t_Co=0 <CR> 
-map <F4> :!python3 % <CR> +map <F5> :tabp <CR> 
-map <F5> :tabp  +map <F6> :tabn <CR>
-map <F6:tabn +
 map <F7> :%s///g map <F7> :%s///g
 au BufEnter,BufRead *sh setlocal smartindent cinwords=case,do,if,elif,else,for,function,select,then,until,while au BufEnter,BufRead *sh setlocal smartindent cinwords=case,do,if,elif,else,for,function,select,then,until,while
 au BufEnter,BufRead *py setlocal smartindent cinwords=class,def,if,elif,else,except,for,try,while au BufEnter,BufRead *py setlocal smartindent cinwords=class,def,if,elif,else,except,for,try,while
 +autocmd FileType python set tabstop=2|set shiftwidth=2
 +
 +autocmd StdinReadPre * let s:std_in=1
 +autocmd VimEnter * if argc() == 0 && !exists("s:std_in") | NERDTree | endif
 +map <C-n> :NERDTreeToggle<CR>
 </code> </code>
wiki/vimrc.txt · ostatnio zmienione: 2023/11/17 19:21 przez lukasz

Wszystkie treści w tym wiki, którym nie przyporządkowano licencji, podlegają licencji: Public Domain
Public Domain Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki