Sponsored Content
Top Forums UNIX for Dummies Questions & Answers how to change the tab size in vi? Post 19508 by Neo on Thursday 11th of April 2002 11:39:37 PM
Old 04-12-2002
no problem, just use the your resource file...


Some useful set options for your ~/.exrc file:

:set all Display all Set options
:set autoindent Indent following lines to the indentation of previous line.
:set ts=4 set tab stop to 4 char
:set ignorecase Ignore case during pattern matching.
:set list Show special characters in the file.
:set number Display line numbers.
:set shiftwidth=n Width for shifting operators << and >>
:set showmode Display when in Insert, Append, or Replace mode.
:set wrapmargin=n Set right margin 80-n for autowrapping lines (inserting newlines). 0 turns it off.
 

10 More Discussions You Might Find Interesting

1. UNIX for Advanced & Expert Users

File system size change

Good morning folks! I'm new here.. trying to find an answer on how to resize filesystem. Need to add some space to c0t0d0s5, /var... Is it possible at all? JV (9 Replies)
Discussion started by: jvinn
9 Replies

2. Shell Programming and Scripting

change the font size in bash

Hi, I would like to change the font size in bash. I know how do it in ksh: F_VDOBLE="\033#6" print "${F_VDOBLE}Esto es..." But in bash I don't know Could you help me please? Many thanks! (5 Replies)
Discussion started by: mierdatuti
5 Replies

3. AIX

Change the Block size of AIX 6.1

Friends , I know the most cases the unix operation system holds the default block size 4MB . In AIX 5.3 and AIX 6.1 , also use upto 4 MB as its default block size .Now I want to change this value from 4MB to 8MB as AIX block size . Is it possible to change the block size value in AIX 6.1/5.3... (2 Replies)
Discussion started by: shipon_97
2 Replies

4. Shell Programming and Scripting

formatting tab with even size

I have a number of columns separated by tabs but the spacing between them are of different sizes. Is there any way of separating them with tab of even size? Thank you. (4 Replies)
Discussion started by: ivpz
4 Replies

5. UNIX for Dummies Questions & Answers

How to get directories colored when doing change directory and tab

I am trying to navigate between directories using cd. However, the only way to distinguish directories now is by seeing the "/' after the directory names, which is quite inefficient. How can I make the directories look in color when typing cd and then using the tab key to list the files and... (1 Reply)
Discussion started by: genehunter
1 Replies

6. Linux

kde 4.3 and tab size

Hi Guys I have just upgraded to kde4 and i noticed that the default tab size in konsole are massive, i cannot see the setting to change this any hlep thanks Adam (0 Replies)
Discussion started by: ab52
0 Replies

7. Windows & DOS: Issues & Discussions

Change tab size to 4

forum members, gvim version 6.0.150.0 Vi has been my favorite editor for over 30 years. Mostly with Unix but now with windows XP. It works fine but I want to change the tab to 4 spaces instead of 8. I read on the internet that I can edit the .vimrc file but I only have an _vimrc... (12 Replies)
Discussion started by: jerryd
12 Replies

8. Programming

Java JOptionPanel change text field with TAB

So I don't really know anything about Frames, Windows, or Panels.. I just got interested in Java because a coworker is doing classes in it. I know some other languages but never did GUI things...I literally just got NetBeans, and drew up a dialog using it's Design view. All I want is for the TAB... (0 Replies)
Discussion started by: neutronscott
0 Replies

9. Ubuntu

How to change ffmpeg default font size?

Hello, I have a problem with Greek subtitle font size when I map a subtitle file into a video in ffmpeg. I ran below code: ffmpeg -i video.mp4 -sub_charenc CP1253 -i video_sub.srt -c:v copy -c:a copy \ -c:s mov_text -metadata:s:s:0 language=gr mapped_video.mp4 When I play it in VLC,... (2 Replies)
Discussion started by: baris35
2 Replies

10. UNIX for Advanced & Expert Users

Change size of watermark

I'm using this code to watermark images (add a logo). How do I change the size of the watermark to cover a certain percentage of the image ffmpeg -i folder/s886_01.jpg -i watermark.png -filter_complex overlay=15:15 output.png (2 Replies)
Discussion started by: locoroco
2 Replies
PANGO-VIEW(1)							   User Commands						     PANGO-VIEW(1)

NAME
pango-view - Pango text viewer DESCRIPTION
Usage: pango-view [OPTION...] - FILE Help Options: -h, --help Show help options --help-all Show all help options --help-cairo Options understood by the cairo backend Cairo backend options: --annotate=1 or 2 Annotate the output Application Options: --no-auto-dir No layout direction according to contents --backend=cairo/xft/ft2/x Pango backend to use for rendering (default: cairo) --background=red/#rrggbb/#rrggbbaa/transparent Set the background color -q, --no-display Do not display (just write to file or whatever) --dpi=number Set the resolution --align=left/center/right Text alignment --ellipsize=start/middle/end Ellipsization mode --font=description Set the font description --foreground=red/#rrggbb/#rrggbbaa Set the text color --gravity=south/east/north/west/auto Base gravity: glyph rotation --gravity-hint=natural/strong/line Gravity hint --header Display the options in the output --height=+points/-numlines Height in points (positive) or number of lines (negative) for ellipsizing --hinting=none/auto/full Hinting style --indent=points Width in points to indent paragraphs --justify Align paragraph lines to be justified --language=en_US/etc Language to use for font selection --margin=pixels Set the margin on the output in pixels --markup Interpret text as Pango markup -o, --output=file Save rendered image to output file --pangorc=file pangorc file to use (default is ./pangorc) --pixels Use pixel units instead of points (sets dpi to 72) --rtl Set base direction to right-to-left --rotate=degrees Angle at which to rotate results -n, --runs=integer Run Pango layout engine this many times --single-par Enable single-paragraph mode -t, --text=string Text to display (instead of a file) --version Show version numbers --waterfall Create a waterfall display -w, --width=points Width in points to which to wrap lines or ellipsize --wrap=word/char/word-char Text wrapping mode (needs a width to be set) Pango module interface version: 1.6.0 pango-view (pango) 1.28.0 March 2010 PANGO-VIEW(1)
All times are GMT -4. The time now is 02:15 PM.
Unix & Linux Forums Content Copyright 1993-2022. All Rights Reserved.
Privacy Policy