aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMax Christian Pohle2020-06-26 16:36:29 +0200
committerMax Christian Pohle2020-06-26 16:50:35 +0200
commit36b4b477745e9f5275e0115f57df6a067c71b856 (patch)
treefddda09fa2ed575da245ffdbf6dc1e756210caaa
parentb68fec17407aa70fdd4cc5c88667ac2d2f49658a (diff)
downloadvim-karlmarks-36b4b477745e9f5275e0115f57df6a067c71b856.tar.bz2
vim-karlmarks-36b4b477745e9f5275e0115f57df6a067c71b856.zip
improved readme and term support
-rw-r--r--doc/readme.md11
-rw-r--r--vimrc3
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 @@
1<h1>vim configuration</h1> 1vim configuration
2=================
3
2This is the configuration I am using. 4This is the configuration I am using.
3 5
4 6
5<h2>Screenshot</h2> 7Screenshot
8----------
9
6<a href="/vim/plain/doc/coderonline-vim.png"> 10<a href="/vim/plain/doc/coderonline-vim.png">
7 <img src="/vim/plain/doc/coderonline-vim.png" width="720" alt="screenshot of vim" /> 11 <img src="/vim/plain/doc/coderonline-vim.png" width="720" alt="screenshot of vim" />
8</a> 12</a>
13
14
15
diff --git a/vimrc b/vimrc
index 058a66b..2214e7b 100644
--- a/vimrc
+++ b/vimrc
@@ -4,9 +4,10 @@ set packpath+=pack/vim
4 4
5 5
6set ttymouse=xterm2 6set ttymouse=xterm2
7set term=xterm-256color " usually a good choice, install ncurses and use `toe` to see all available choices
8set ttybuiltin | " use internal termcaps, because these are more stable
7set ttyscroll=100 | " improves speed for terminal vim, incompatible with nvim 9set ttyscroll=100 | " improves speed for terminal vim, incompatible with nvim
8set ttyfast | " improves speed for terminal vim (incompatible with nvim) 10set ttyfast | " improves speed for terminal vim (incompatible with nvim)
9set nottybuiltin | " use external termcaps
10set restorescreen | " restores the console after exiting vim (intentionally not in nvim) 11set restorescreen | " restores the console after exiting vim (intentionally not in nvim)
11 12
12" autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib") 13" autocmd VimLeave * call system("echo -n $'" . escape(getreg(), "'") . "' | xsel -ib")
..