From 36b4b477745e9f5275e0115f57df6a067c71b856 Mon Sep 17 00:00:00 2001 From: Max Christian Pohle Date: Fri, 26 Jun 2020 16:36:29 +0200 Subject: improved readme and term support --- doc/readme.md | 11 +++++++++-- vimrc | 3 ++- 2 files changed, 11 insertions(+), 3 deletions(-) diff --git a/doc/readme.md b/doc/readme.md index 68bd20b..5ea6da4 100644 --- a/doc/readme.md +++ b/doc/readme.md @@ -1,8 +1,15 @@ -

vim configuration

+vim configuration +================= + This is the configuration I am using. -

Screenshot

+Screenshot +---------- + screenshot of vim + + + diff --git a/vimrc b/vimrc index 058a66b..2214e7b 100644 --- a/vimrc +++ b/vimrc @@ -4,9 +4,10 @@ set packpath+=pack/vim set ttymouse=xterm2 +set term=xterm-256color " usually a good choice, install ncurses and use `toe` to see all available choices +set ttybuiltin | " use internal termcaps, because these are more stable set ttyscroll=100 | " improves speed for terminal vim, incompatible with nvim set ttyfast | " improves speed for terminal vim (incompatible with nvim) -set nottybuiltin | " use external termcaps set restorescreen | " restores the console after exiting vim (intentionally not in nvim) " autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib") -- cgit v1.2.3