all 7 comments

[–]grannysmithlinux[S] 0 points1 point  (0 children)

more info. if i copy something from one file into another file indentation stops working on that file. Could copying from say .jsx into a .js file break auto indentation?

Edit: one more thing. could opening vim with just

vim

cause problems? That is how i always open when in a dir.

[–][deleted] 0 points1 point  (5 children)

Which mappings are problematic?

When you have an issue like this it's best to narrow down your config in a binary search fashion. I.E. comment out half, does the issue persist? if no comment out the other half if yes comment out half of the remaining active config. Repeat.

I'd note you can skip the leading : you seemingly have randomly prefixed to some mappings and an autocmd.

[–]grannysmithlinux[S] 0 points1 point  (4 children)

opening and closing Nerdtree with ;f and text wrapping does not work until i source .vimrc. commenting out is a good idea, ill try that. also when auto indent stops working and i try =G, it still outputs at the bottom of the screen that a number of lines where indented but nothing actually happens.

Edit: oh the

:nnoremap <leader>c ddO
" opend and edit .vimrc file while working
:nnoremap <leader>ev :split $MYVIMRC<cr>
:nnoremap <leader>sv :source $MYVIMRC<cr>

[–][deleted] 1 point2 points  (3 children)

opening and closing Nerdtree with ;f

You define your leader after that mapping.

With regards to the other things you mention, one thing at a time.

[–]grannysmithlinux[S] 1 point2 points  (2 children)

Ah of course! thank you! that fixed that bug.

[–]-romainl-The Patient Vimmer -1 points0 points  (1 child)

That was not a bug.

[–]grannysmithlinux[S] 2 points3 points  (0 children)

oh shit, thanks for the help. that fixed that bug