summaryrefslogtreecommitdiff
path: root/vim
diff options
context:
space:
mode:
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