summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-08-05 23:35:00 +0200
committerEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-08-05 23:35:00 +0200
commit892974a7b3df56a939bde2115c12e975c709c54c (patch)
tree1e7be2d8f9b7efadbbcc8a53f312af47bf2843b0
parentddf74e564339c72bd536d4a3e03d44488710a56e (diff)
Hide buffers without needing to save
-rw-r--r--nvim/nvim/init.vim3
-rw-r--r--vim/.vimrc3
2 files changed, 6 insertions, 0 deletions
diff --git a/nvim/nvim/init.vim b/nvim/nvim/init.vim
index 146effd..2d21bfc 100644
--- a/nvim/nvim/init.vim
+++ b/nvim/nvim/init.vim
@@ -61,3 +61,6 @@ colorscheme torte
" Default tabs
set tabstop=4 softtabstop=0 expandtab shiftwidth=4
set autoindent
+
+" Change buffers without needing to save
+set hidden
diff --git a/vim/.vimrc b/vim/.vimrc
index 137b697..080e1b5 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -66,3 +66,6 @@ colorscheme torte
" Default tabs
set tabstop=4 softtabstop=0 expandtab shiftwidth=4
set autoindent
+
+" Change buffers without needing to save
+set hidden