summaryrefslogtreecommitdiff
path: root/nvim/init.vim
diff options
context:
space:
mode:
Diffstat (limited to 'nvim/init.vim')
-rw-r--r--nvim/init.vim31
1 files changed, 2 insertions, 29 deletions
diff --git a/nvim/init.vim b/nvim/init.vim
index 9362d7e..1d9d2dc 100644
--- a/nvim/init.vim
+++ b/nvim/init.vim
@@ -1,10 +1,7 @@
+syntax on
+filetype plugin indent on
-" general settings
-
-set modeline
-set modelines=5
set mouse=
-syntax on
set tabstop=4
set noexpandtab
set number
@@ -17,16 +14,6 @@ set fileencodings=utf-8
set listchars=tab:→\ ,nbsp:␣,trail:•,precedes:«,extends:»
set list
-filetype plugin indent on
-
-
-" special highlighting
-highlight folded ctermfg=Black
-highlight folded ctermbg=LightYellow
-
-
-" hot keys
-
" switch tabs
map <F7> :tabp <LF>
map <F8> :tabn <LF>
@@ -34,17 +21,3 @@ map <F8> :tabn <LF>
" convert *.bin file to ascii or reverse (make sure to open with `vim -b`!)
map <F5> :%!xxd -r <LF>
map <F6> :%!xxd <LF>
-
-
-" macros
-" see ':help key-notation' to view documentation
-
-" LaTeX enumeration (o rdered list)
-let @o="A\<Enter>\<Enter>\\begin{enumerate}\<Enter>\<Enter>\\end{enumerate}\<Up>\<Tab>\\item "
-" LaTeX itemize (u nordered list)
-let @u="A\<Enter>\<Enter>\\begin{itemize}\<Enter>\<Enter>\\end{itemize}\<Up>\<Tab>\\item "
-" LaTeX equation
-let @e="A\<Enter>\<Enter>\\begin{equation}\<Enter>\<Enter>\\end{equation}\<Up>\<Tab>"
-" LaTeX image
-let @i="A\<Enter>\<Enter>\\begin{figure}[H]\<Enter>\<Tab>\\centering\<Enter>\\includegraphics[width=1.0\\textwidth]{}\<Enter>\<Esc>:left\<Enter>i\\end{figure}\<Esc>\<Up>A\<Left>"
-