frissky9's blog

By frissky9, history, 3 months ago, In English

Hey!

I know this might be a trivial google search but I have looked for a while and got "Backspace in vim is done with X (and delete with x)".

when ever i am trying to use backspace it inserts a '^H' ans using x inserts a char x in it.

This is my .vimrc file.

I have configured the snippets using ultisnips which also isnt working the directory for ultisnips is:

root/
    - .vim
      - ultisnips
        - cpp.snippets

The ultisnip is installed succesfully as :plugStatus says its installed and status is : ok.

Any help or corrections will be appreciated. thank you!

  • Vote: I like it
  • 0
  • Vote: I do not like it

»
3 months ago, # |
  Vote: I like it 0 Vote: I do not like it

I suggest switching to neovim instead of the regular MacOS vim because I think it has a better terminal support inside of vim. Although slightly ugly, my current vim configuration is here where you might find some of it useful. In particular, I like ToggleTerm and having a vertically split terminal on the right side when executing code (VertTerm command ).

Also you might enjoy using CPB for codeforces. It provides automated download and testing for samples (:Test) and you can add your own tests via (:Addtc).

  • »
    »
    3 months ago, # ^ |
      Vote: I like it 0 Vote: I do not like it

    funny enough it was your vimrc that i copied and after I changed it with peltorator vimrc. Ill take the suggestion and try again. Thank you so much for your reply.