summaryrefslogtreecommitdiff
path: root/openwrt/package/vim/files/vimrc
diff options
context:
space:
mode:
Diffstat (limited to 'openwrt/package/vim/files/vimrc')
-rw-r--r--openwrt/package/vim/files/vimrc13
1 files changed, 13 insertions, 0 deletions
diff --git a/openwrt/package/vim/files/vimrc b/openwrt/package/vim/files/vimrc
new file mode 100644
index 0000000000..792d68076a
--- /dev/null
+++ b/openwrt/package/vim/files/vimrc
@@ -0,0 +1,13 @@
+set showcmd " Show (partial) command in status line.
+set showmatch " Show matching brackets.
+set ignorecase " Do case insensitive matching
+set incsearch " Incremental search
+set autowrite " Automatically save before commands like :next and :make
+set nocompatible " Use Vim defaults instead of 100% vi compatibility
+set backspace=indent,eol,start " more powerful backspacing
+set autoindent " always set autoindenting on
+set linebreak " Don't wrap words by default
+set textwidth=0 " Don't wrap lines by default
+set ruler " show the cursor position all the time
+
+