removed swapfiles
This commit is contained in:
parent
965ec5f6e4
commit
ad41ad7d65
1 changed files with 16 additions and 15 deletions
|
@ -12,6 +12,7 @@ set smartindent
|
||||||
|
|
||||||
set undodir=~/.vim/undo
|
set undodir=~/.vim/undo
|
||||||
set undofile
|
set undofile
|
||||||
|
set noswapfile
|
||||||
|
|
||||||
set guifont=SauceCodePro\ NF\ Regular
|
set guifont=SauceCodePro\ NF\ Regular
|
||||||
|
|
||||||
|
@ -55,8 +56,8 @@ command! Term tabnew | setlocal nospell | term
|
||||||
autocmd FileType help setlocal nospell
|
autocmd FileType help setlocal nospell
|
||||||
" test whitespace ->
|
" test whitespace ->
|
||||||
" more test whitespace ->
|
" more test whitespace ->
|
||||||
" Indented text
|
" Indented text
|
||||||
" even more test whitespace ->
|
" even more test whitespace ->
|
||||||
|
|
||||||
" Key bindings
|
" Key bindings
|
||||||
let mapleader = " "
|
let mapleader = " "
|
||||||
|
@ -111,7 +112,7 @@ vmap <C-0> g^
|
||||||
" vmap <C-K> <C-w>K
|
" vmap <C-K> <C-w>K
|
||||||
" vmap <C-L> <C-w>L
|
" vmap <C-L> <C-w>L
|
||||||
|
|
||||||
colorscheme slate
|
colorscheme slate
|
||||||
]]
|
]]
|
||||||
|
|
||||||
vim.cmd [[
|
vim.cmd [[
|
||||||
|
@ -120,16 +121,16 @@ vim.cmd [[
|
||||||
"If you're using tmux version 2.2 or later, you can remove the outermost $TMUX check and use tmux's 24-bit color support
|
"If you're using tmux version 2.2 or later, you can remove the outermost $TMUX check and use tmux's 24-bit color support
|
||||||
"(see < http://sunaku.github.io/tmux-24bit-color.html#usage > for more information.)
|
"(see < http://sunaku.github.io/tmux-24bit-color.html#usage > for more information.)
|
||||||
if (empty($TMUX))
|
if (empty($TMUX))
|
||||||
if (has("nvim"))
|
if (has("nvim"))
|
||||||
"For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 >
|
"For Neovim 0.1.3 and 0.1.4 < https://github.com/neovim/neovim/pull/2198 >
|
||||||
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
|
let $NVIM_TUI_ENABLE_TRUE_COLOR=1
|
||||||
endif
|
endif
|
||||||
"For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 >
|
"For Neovim > 0.1.5 and Vim > patch 7.4.1799 < https://github.com/vim/vim/commit/61be73bb0f965a895bfb064ea3e55476ac175162 >
|
||||||
"Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd >
|
"Based on Vim patch 7.4.1770 (`guicolors` option) < https://github.com/vim/vim/commit/8a633e3427b47286869aa4b96f2bfc1fe65b25cd >
|
||||||
" < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 >
|
" < https://github.com/neovim/neovim/wiki/Following-HEAD#20160511 >
|
||||||
if (has("termguicolors"))
|
if (has("termguicolors"))
|
||||||
set termguicolors
|
set termguicolors
|
||||||
endif
|
endif
|
||||||
endif
|
endif
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
@ -137,8 +138,8 @@ endif
|
||||||
vim.cmd [[
|
vim.cmd [[
|
||||||
xnoremap @ :<C-u>call ExecuteMacroOverVisualRange()<CR>
|
xnoremap @ :<C-u>call ExecuteMacroOverVisualRange()<CR>
|
||||||
function! ExecuteMacroOverVisualRange()
|
function! ExecuteMacroOverVisualRange()
|
||||||
echo "@".getcmdline()
|
echo "@".getcmdline()
|
||||||
execute ":'<,'>normal @".nr2char(getchar())
|
execute ":'<,'>normal @".nr2char(getchar())
|
||||||
endfunction
|
endfunction
|
||||||
]]
|
]]
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue