summaryrefslogtreecommitdiff
path: root/misc/dotfiles/vimrc
diff options
context:
space:
mode:
authorDmitry Ilvokhin <d@ilvokhin.com>2024-02-24 18:36:32 +0000
committerDmitry Ilvokhin <d@ilvokhin.com>2024-02-24 18:36:32 +0000
commit2b29e812468ae2f33a4d37e2e280b7080f11ee86 (patch)
tree15826a929d63c05081399d970e8caaf6d0ecdc23 /misc/dotfiles/vimrc
parent505d0e3202677729f9c5a9c03cb5ddfd9faf6d78 (diff)
downloadinfra-2b29e812468ae2f33a4d37e2e280b7080f11ee86.tar.gz
infra-2b29e812468ae2f33a4d37e2e280b7080f11ee86.tar.bz2
infra-2b29e812468ae2f33a4d37e2e280b7080f11ee86.zip
Add simple dotfiles management playbook
Diffstat (limited to 'misc/dotfiles/vimrc')
-rw-r--r--misc/dotfiles/vimrc25
1 files changed, 25 insertions, 0 deletions
diff --git a/misc/dotfiles/vimrc b/misc/dotfiles/vimrc
new file mode 100644
index 0000000..9e3afc2
--- /dev/null
+++ b/misc/dotfiles/vimrc
@@ -0,0 +1,25 @@
+" Enable ruler (will display line number and column number by default).
+set ruler
+
+" Enable syntax highlight.
+syntax on
+
+" Expand tabs to spaces.
+set expandtab
+
+" Use four-space indentation.
+set tabstop=4
+set softtabstop=4
+set shiftwidth=4
+
+" Limit text width.
+set textwidth=79
+
+" Disable incremental search.
+set noincsearch
+
+" Disable highlighting of the search results.
+set nohlsearch
+
+" Disable incremental search.
+set noincsearch