summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
authorEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-04-01 20:45:02 +0200
committerEkaitz Zárraga <ekaitz.zarraga@gmail.com>2016-04-01 20:45:02 +0200
commite9ef9b0a02601a30a1c9242d5849a17ec2af1cbb (patch)
tree161e61deb465fd63f39648c0ff4da18f0180e0e5 /vim
parent16f4a8bc2a236f822466e84c5aaf4f403baef590 (diff)
Separate markdown ftdetect and mouse support
Diffstat (limited to 'vim')
-rw-r--r--vim/.vim/ftdetect/markdown.vim2
-rw-r--r--vim/.vimrc6
2 files changed, 5 insertions, 3 deletions
diff --git a/vim/.vim/ftdetect/markdown.vim b/vim/.vim/ftdetect/markdown.vim
new file mode 100644
index 0000000..51b8df5
--- /dev/null
+++ b/vim/.vim/ftdetect/markdown.vim
@@ -0,0 +1,2 @@
+" Understand .md as markdown
+autocmd BufNewFile,BufRead *.md set ft=markdown
diff --git a/vim/.vimrc b/vim/.vimrc
index 313a327..06285cc 100644
--- a/vim/.vimrc
+++ b/vim/.vimrc
@@ -24,11 +24,11 @@ set foldlevelstart=99
set hlsearch
nnoremap <CR> :noh<CR><CR>
-" Understand .md as markdown
-autocmd BufNewFile,BufRead *.md set ft=markdown
-
" Ingnore Case in search
set ignorecase
" Always show tabline (0=never, 1=when there are at least 2 tabs, 2=always)
set showtabline=2
+
+" Mouse support
+set mouse=a