Originally Posted by noony123
Can i change shortcuts of vi to something of my own.
For example, dd is use to cut the line. Can i use simply 'd' to delete the line instead ?
As stated by harry edwards, you can change your mapping, but do be careful with that.
dd isn't one "command", its 2.
The first d initiates, the second one tells vi what to do. This can be a d (dd), but the following also exist. Examples: d2d dl, dh and d<motion>.
If you alias/map dd to d, other commands might fail to work.
Hope this helps.