Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Automatically wrap left and right #30

Merged
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
23 changes: 13 additions & 10 deletions snowblocks/vim/vimrc
Original file line number Diff line number Diff line change
@@ -1,15 +1,15 @@
" ++++++++++++++++++++++++++++++++++++++++++++++++++++++
" title Vim Configuration +
" project igloo +
" repository https://github.com/arcticicestudio/igloo +
" author Arctic Ice Studio +
" email development@arcticicestudio.com +
" copyright Copyright (C) 2017 +
" ++++++++++++++++++++++++++++++++++++++++++++++++++++++
" +++++++++++++++++++++++++++++++++++++++++++++++++++++
" title Vim Configuration +
" project igloo +
" repository https://github.com/arcticicestudio/igloo +
" author Arctic Ice Studio +
" email development@arcticicestudio.com +
" copyright Copyright (C) 2017 +
" +++++++++++++++++++++++++++++++++++++++++++++++++++++
"
" [References]
" Google Style Guide
" (https://google.github.io/styleguide/vimscriptguide.xml)
" https://google.github.io/styleguide/vimscriptguide.xml

"+---------+
"+ Plugins +
Expand Down Expand Up @@ -211,7 +211,10 @@ set smarttab
set softtabstop=2
set tabstop=2
set textwidth=160
set whichwrap+=<,>,h,l

" Automatically wrap left and right.
" This allows to move the cursor to the previous/next line after reaching first/last character in the line using the arrow keys in normal-, insert- (<,>) and visual mode ([,]) or the h and l keys.
set whichwrap+=<,>,h,l,[,]
set wrap

"+--- Search ---+
Expand Down