aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorEugene Triguba <hello@eugenetriguba.com>2025-12-20 10:28:27 -0500
committerEugene Triguba <hello@eugenetriguba.com>2025-12-20 10:28:27 -0500
commitfe9843e129ca70de63251d1e2787f4920df2f973 (patch)
tree3d73d97e8781ec31016fd1687982979ae6a52678
parentUpdate lsps for nvim (diff)
downloaddotfiles-fe9843e129ca70de63251d1e2787f4920df2f973.zip
Use system clipboard in vim
-rw-r--r--vim/.vim/.netrwhist4
-rw-r--r--vim/.vimrc3
2 files changed, 7 insertions, 0 deletions
diff --git a/vim/.vim/.netrwhist b/vim/.vim/.netrwhist
new file mode 100644
index 0000000..be06855
--- /dev/null
+++ b/vim/.vim/.netrwhist
@@ -0,0 +1,4 @@
+let g:netrw_dirhistmax =10
+let g:netrw_dirhistcnt =2
+let g:netrw_dirhist_2='/home/eugene/.dotfiles'
+let g:netrw_dirhist_1='/home/eugene/.dotfiles/roles/gnome_settings/tasks'
diff --git a/vim/.vimrc b/vim/.vimrc
index 55e5084..61e87f8 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -2,6 +2,9 @@
" Vim's extended features and modern behaviors.
set nocompatible
+" Use system clipboard
+set clipboard=unnamedplus
+
" Enable a number column with numbers relative
" to the current line the cursor is on.
set relativenumber