vi - How to define a custom `textwidth` for BASH in VIM editing mode -


the setting in .vimrc is

set textwidth=79 

however, affects bash-prompt well, since i'm using vi editing mode.

is there way set bash independently?

if not, there option show somehow ruler on right side @ 79th column?

setting textwidth files should want. change line

set textwidth=79 

into this:

if has("autocmd")   autocmd filetype * set textwidth=79 endif 

Comments

Popular posts from this blog

jquery - How can I dynamically add a browser tab? -

node.js - Getting the socket id,user id pair of a logged in user(s) -

keyboard - C++ GetAsyncKeyState alternative -