naseeam
asked on
Why >G keyboard sequence indents line Eight spaces when book show ident as Two spaces ?
My computer is running Windows 10 Pro 64-bit. I connect to remote Linux Machine using telnet utility. My shell is bash.
I invoked Vim version 8.0.
I'm following a example from book, Practical Vim Second Edition.
The book asks to press certain keyboard sequence to indent Two spaces but the line is indented Eight spaces. Please see attached.
I don't have vimrc file. Whether I run default vimrc or not, I get the same result.
I invoked Vim version 8.0.
I'm following a example from book, Practical Vim Second Edition.
The book asks to press certain keyboard sequence to indent Two spaces but the line is indented Eight spaces. Please see attached.
I don't have vimrc file. Whether I run default vimrc or not, I get the same result.
we need to see the example.
It might be an issue with the settings of
tabstop
softabstop
ident
It might be an issue with the settings of
tabstop
softabstop
ident
ASKER
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
I set indentation to 2 in .vimrc file. Then, result was as expected.
Expert found root cause of the problem.
Thank you!
Expert found root cause of the problem.
Thank you!
Naseeam, there is no attachment?