From 0cbcbd89d67849e770ac8ae69e07d4571da3dea8 Mon Sep 17 00:00:00 2001 From: ilya Date: Sat, 3 May 2025 14:25:22 +0500 Subject: [PATCH] .vimrc --- .vimrc | 27 +++++++++++++++++++++++++++ text.txt | 2 -- 2 files changed, 27 insertions(+), 2 deletions(-) create mode 100644 .vimrc diff --git a/.vimrc b/.vimrc new file mode 100644 index 0000000..ae6dd02 --- /dev/null +++ b/.vimrc @@ -0,0 +1,27 @@ +"VIEW config + syntax off + filetype off + set number + +"INDENT config + "filetype plugin indent on + "" show existing tab with 4 spaces width + "set tabstop=4 + " + "" when indenting with '>', use 4 spaces width + "set shiftwidth=4 + " + "" On pressing tab, insert 4 spaces + "set expandtab + +"MACROS config + vnoremap "hy:%s/h//gc + +"LaTEX config +vnoremap c{\bfseries "} + +"PLUGIN config + let g:NERDTreeNodeDelimiter = "\u00a0" + execute "set =\en" + nnoremap :NERDTree + diff --git a/text.txt b/text.txt index 58ce4c2..c5c862b 100644 --- a/text.txt +++ b/text.txt @@ -4,5 +4,3 @@ Found programming UNIX a hurdle and that's not saying much for the turtle!!! - -