* Re: [room] великий и могучий
2008-12-14 19:19 [room] великий и могучий Michael Bykov
@ 2008-12-14 19:31 ` Andrey Rahmatullin
0 siblings, 0 replies; 2+ messages in thread
From: Andrey Rahmatullin @ 2008-12-14 19:31 UTC (permalink / raw)
To: smoke-room
[-- Attachment #1: Type: text/plain, Size: 1507 bytes --]
On Sun, Dec 14, 2008 at 10:19:50PM +0300, Michael Bykov wrote:
> попёр поперёк
>
> попёр, поперёк
about 68% of the way to the end.
A bunch of stuff your OS should already do
If you are running Windows or OS X or a sloppy Linux distribution, you may
not be using these:
" Intuitive backspacing in insert mode
set backspace=indent,eol,start
" File-type highlighting and configuration.
" Run :filetype (without args) to see what you may have
" to turn on yourself, or just set them all to be sure.
syntax on
filetype on
filetype plugin on
filetype indent on
" Highlight search terms...
set hlsearch
set incsearch " ...dynamically as they are typed.
The filetype lines enable type-specific configuration, such as knowledge
of syntax and indentation. E.g. foo.c will be opened with Vim’s
pre-configured C settings, and bar.py will be opened with Python settings.
If the search term highlighting gets annoying, set a key to switch it off
temporarily:
nmap <silent> <leader>n :silent :nohlsearch<CR>
Catch trailing whitespace
The following will make tabs and trailing spaces visible when requested:
set listchars=tab:>-,trail:·,eol:$
nmap <silent> <leader>s :set nolist!<CR>
By default whitespace will be hidden, but now it can be toggled wi
--
WBR, wRAR (ALT Linux Team)
Powered by the ALT Linux fortune(8):
Антон, не дави на слезу - мне не шашечки нужны, а ехать...
Как и подавляющему количеству пользователей Сизифа...
-- eostapets in sisyphus@
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 197 bytes --]
^ permalink raw reply [flat|nested] 2+ messages in thread