Add neovim remap to remove windows new lines
This commit is contained in:
parent
64f1722125
commit
b093f682c4
1 changed files with 2 additions and 1 deletions
|
@ -23,6 +23,7 @@ set clipboard=unnamedplus
|
||||||
filetype plugin on
|
filetype plugin on
|
||||||
set cursorline
|
set cursorline
|
||||||
set ttyfast
|
set ttyfast
|
||||||
|
set nofixeol
|
||||||
|
|
||||||
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
|
let data_dir = has('nvim') ? stdpath('data') . '/site' : '~/.vim'
|
||||||
if empty(glob(data_dir . '/autoload/plug.vim'))
|
if empty(glob(data_dir . '/autoload/plug.vim'))
|
||||||
|
@ -119,8 +120,8 @@ nnoremap <A-]> <cmd>lua require("harpoon.ui").nav_next()<CR>
|
||||||
|
|
||||||
nnoremap <leader>ff :FZF<CR>
|
nnoremap <leader>ff :FZF<CR>
|
||||||
|
|
||||||
nnoremap <silent> ga <cmd>lua vim.lsp.buf.code_action()<CR>
|
|
||||||
nnoremap mm :nohl<CR>
|
nnoremap mm :nohl<CR>
|
||||||
|
nnoremap ml :%s/\r//g<CR>
|
||||||
|
|
||||||
nnoremap <leader>yb :!yarn build<CR>
|
nnoremap <leader>yb :!yarn build<CR>
|
||||||
nnoremap <leader>yi :!yarn install<CR>
|
nnoremap <leader>yi :!yarn install<CR>
|
||||||
|
|
Loading…
Reference in a new issue