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
Nowa wersjaNastępna rewizja po obu stronach
wiki:vimrc [2020/03/02 20:25] lukaszwiki:vimrc [2020/03/02 20:31] lukasz
Linia 1: Linia 1:
 Prosty i działający vimrc: Prosty i działający vimrc:
  
-  set laststatus=2 +<code> 
-  set t_Co=256 +set laststatus=2 
-   +set t_Co=256
-  language messages C +
-  syntax on +
-  set showmatch +
-  set number +
-  set showcmd +
-  set ruler +
-  set confirm +
-  set expandtab +
-  set shiftwidth=2 +
-  set softtabstop=2 +
-  set autoindent +
-  map < F2 > :write % < CR > +
-  map < F3 > :!bash % < CR > +
-  map < F4 > :!python3 % < CR > +
-  map < F5 > :tabp  +
-  map < F6 > :tabn  +
-  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 *py setlocal smartindent cinwords=class,def,if,elif,else,except,for,try,while+
  
 +language messages C
 +syntax on
 +set showmatch
 +set number
 +set showcmd
 +set ruler
 +set confirm
 +set expandtab
 +set shiftwidth=2
 +set softtabstop=2
 +set autoindent
 +map < F2 > :write % < CR >
 +map < F3 > :!bash % < CR >
 +map < F4 > :!python3 % < CR >
 +map < F5 > :tabp 
 +map < F6 > :tabn 
 +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 *py setlocal smartindent cinwords=class,def,if,elif,else,except,for,try,while
 +</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