Is there anyway to turn off line-wrap in vi?
vi Line Wrap
Started by
Guest_Lop_*
, Jul 31 2007 07:54 AM
1 reply to this topic
#1
Guest_Lop_*
Posted 31 July 2007 - 07:54 AM
Guest_Lop_*
|
|
|
#2
Guest_Jordan_*
Posted 08 August 2007 - 06:29 AM
Guest_Jordan_*
You have to create a custom .vimrc file in your home directory. Here are some options you can set in that file:
set incsearch
incremental searching
set ignorecase
disregards upper and lowercase distinctions
set smartcase
ignore case of search if pattern is lower-case
set scrolloff=2
two lines of context visible around cursor
set wildmode=longest,list
Tab, Enter, Esc filename completion
set cindent
C code indentation
set nocindent
disable C code indentation
set compatible
behave more like old vi
set nowrap
disable line wrap for long lines
set textwidth=72
supplement to line wrap annoyance
filetype off
disable file type recognition and behavior
set uc=0
No swap file will be used
set number
display line numbers in editor
set nonumber
disable display line numbers in editor
set incsearch
incremental searching
set ignorecase
disregards upper and lowercase distinctions
set smartcase
ignore case of search if pattern is lower-case
set scrolloff=2
two lines of context visible around cursor
set wildmode=longest,list
Tab, Enter, Esc filename completion
set cindent
C code indentation
set nocindent
disable C code indentation
set compatible
behave more like old vi
set nowrap
disable line wrap for long lines
set textwidth=72
supplement to line wrap annoyance
filetype off
disable file type recognition and behavior
set uc=0
No swap file will be used
set number
display line numbers in editor
set nonumber
disable display line numbers in editor


Sign In
Create Account

Back to top









